diff options
author | Andi Kleen <ak@suse.de> | 2007-10-17 12:04:36 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:16:03 -0400 |
commit | e295f75410eb19d2a9733508f7f5c093767592cd (patch) | |
tree | a31b71068a8e1f890eb931fd9fb011f4cffca7a5 | |
parent | 1e32b073f372f0fe903c4474fbd47c2ac61428c8 (diff) |
x86_64: Remove serialize_cpu() inline
- It was redundant with sync_core()
- It was unused
- It was broken: no input arguments to cpuid; could fault randomly
depending on eax contents.
Now it's gone.
[ tglx: arch/x86 adaptation ]
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/asm-x86/processor_64.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86/processor_64.h b/include/asm-x86/processor_64.h index 31f579b828f..2f12eb6e46b 100644 --- a/include/asm-x86/processor_64.h +++ b/include/asm-x86/processor_64.h | |||
@@ -389,11 +389,6 @@ static inline void prefetchw(void *x) | |||
389 | 389 | ||
390 | #define cpu_relax() rep_nop() | 390 | #define cpu_relax() rep_nop() |
391 | 391 | ||
392 | static inline void serialize_cpu(void) | ||
393 | { | ||
394 | __asm__ __volatile__ ("cpuid" : : : "ax", "bx", "cx", "dx"); | ||
395 | } | ||
396 | |||
397 | static inline void __monitor(const void *eax, unsigned long ecx, | 392 | static inline void __monitor(const void *eax, unsigned long ecx, |
398 | unsigned long edx) | 393 | unsigned long edx) |
399 | { | 394 | { |