]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86_64: Remove serialize_cpu() inline
authorAndi Kleen <ak@suse.de>
Wed, 17 Oct 2007 16:04:36 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:03 +0000 (20:16 +0200)
- 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>
include/asm-x86/processor_64.h

index 31f579b828f232de4789f515b3aa5c1d633e46a1..2f12eb6e46b0e52f379a83fb3bb01d3eef00a1e9 100644 (file)
@@ -389,11 +389,6 @@ static inline void prefetchw(void *x)
 
 #define cpu_relax()   rep_nop()
 
-static inline void serialize_cpu(void)
-{
-       __asm__ __volatile__ ("cpuid" : : : "ax", "bx", "cx", "dx");
-}
-
 static inline void __monitor(const void *eax, unsigned long ecx,
                unsigned long edx)
 {