projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5c6251
)
x86: introduce native_set_pte_atomic() on 64-bit too
author
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:34:01 +0000
(13:34 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:34:01 +0000
(13:34 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/pgtable_64.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/pgtable_64.h
b/include/asm-x86/pgtable_64.h
index df1fcbd12e43ffa4de89b6e0bf9fde20def400a2..223b0032bab5cd55bdf4d38af8485a89a4658116 100644
(file)
--- 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