aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/pgtable_64.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 07:34:01 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:34:01 -0500
commitb65e6390fb99ca93877ffc1c84e93c857f32dafc (patch)
treef0220ee060ec7a24f287bd0584288f637d5b45e3 /include/asm-x86/pgtable_64.h
parenta5c62514885a778016c03dbba833d4ff6786e30c (diff)
x86: introduce native_set_pte_atomic() on 64-bit too
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/pgtable_64.h')
-rw-r--r--include/asm-x86/pgtable_64.h5
1 files changed, 5 insertions, 0 deletions
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)
76 *ptep = pte; 76 *ptep = pte;
77} 77}
78 78
79static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
80{
81 native_set_pte(ptep, pte);
82}
83
79static inline pte_t native_ptep_get_and_clear(pte_t *xp) 84static inline pte_t native_ptep_get_and_clear(pte_t *xp)
80{ 85{
81#ifdef CONFIG_SMP 86#ifdef CONFIG_SMP