diff options
author | Andi Kleen <ak@suse.de> | 2008-01-30 07:33:50 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:50 -0500 |
commit | 5b016432a768d94c707aee02a202c95d163f27c4 (patch) | |
tree | ee6614ac767cabe297a773eca7ed852e1d7c1a1f | |
parent | 0e3a95492989e452a33e5df9b51365da574b854d (diff) |
x86: cpa: use wbinvd() macro instead of inline assembly in 64bit c_p_a()
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>
-rw-r--r-- | arch/x86/mm/pageattr_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pageattr_64.c b/arch/x86/mm/pageattr_64.c index 59cd066f6741..b21a874c2dd3 100644 --- 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) | |||
86 | much cheaper than WBINVD. */ | 86 | much cheaper than WBINVD. */ |
87 | /* clflush is still broken. Disable for now. */ | 87 | /* clflush is still broken. Disable for now. */ |
88 | if (1 || !cpu_has_clflush) { | 88 | if (1 || !cpu_has_clflush) { |
89 | asm volatile("wbinvd" ::: "memory"); | 89 | wbinvd(); |
90 | } else { | 90 | } else { |
91 | list_for_each_entry(pg, l, lru) { | 91 | list_for_each_entry(pg, l, lru) { |
92 | void *addr = page_address(pg); | 92 | void *addr = page_address(pg); |