From: Andi Kleen Date: Wed, 17 Oct 2007 16:04:36 +0000 (+0200) Subject: x86_64: Remove serialize_cpu() inline X-Git-Tag: v3.12-rc1~25490^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e295f75410eb19d2a9733508f7f5c093767592cd;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/processor_64.h b/include/asm-x86/processor_64.h index 31f579b..2f12eb6 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) #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) {