From: Ingo Molnar Date: Wed, 30 Jan 2008 12:34:01 +0000 (+0100) Subject: x86: introduce native_set_pte_atomic() on 64-bit too X-Git-Tag: v2.6.25-rc1~1143^2~93 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=commitdiff_plain;h=b65e6390fb99ca93877ffc1c84e93c857f32dafc;hp=a5c62514885a778016c03dbba833d4ff6786e30c x86: introduce native_set_pte_atomic() on 64-bit too Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h index df1fcbd12e43..223b0032bab5 100644 --- a/include/asm-x86/pgtable_64.h +++ b/include/asm-x86/pgtable_64.h @@ -76,6 +76,11 @@ static inline void native_set_pte(pte_t *ptep, pte_t pte) *ptep = pte; } +static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte) +{ + native_set_pte(ptep, pte); +} + static inline pte_t native_ptep_get_and_clear(pte_t *xp) { #ifdef CONFIG_SMP