Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e295f754 authored by Andi Kleen's avatar Andi Kleen Committed by Thomas Gleixner
Browse files

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: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 1e32b073
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -389,11 +389,6 @@ static inline void prefetchw(void *x)


#define cpu_relax()   rep_nop()
#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,
static inline void __monitor(const void *eax, unsigned long ecx,
		unsigned long edx)
		unsigned long edx)
{
{