projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3a954
)
x86: cpa: use wbinvd() macro instead of inline assembly in 64bit c_p_a()
author
Andi Kleen
<ak@suse.de>
Wed, 30 Jan 2008 12:33:50 +0000
(13:33 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:33:50 +0000
(13:33 +0100)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/pageattr_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/pageattr_64.c
b/arch/x86/mm/pageattr_64.c
index 59cd066f67414faaa6abacedd9efb9c9aa131724..b21a874c2dd3b675169b559d276149a9fc4dbaf1 100644
(file)
--- a/
arch/x86/mm/pageattr_64.c
+++ b/
arch/x86/mm/pageattr_64.c
@@
-86,7
+86,7
@@
static void flush_kernel_map(void *arg)
much cheaper than WBINVD. */
/* clflush is still broken. Disable for now. */
if (1 || !cpu_has_clflush) {
-
asm volatile("wbinvd" ::: "memory"
);
+
wbinvd(
);
} else {
list_for_each_entry(pg, l, lru) {
void *addr = page_address(pg);