Selaa lähdekoodia

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>
Ingo Molnar 17 vuotta sitten
vanhempi
commit
b65e6390fb
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      include/asm-x86/pgtable_64.h

+ 5 - 0
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