summaryrefslogtreecommitdiff
path: root/arch/x86/machine/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/cpu.c')
-rw-r--r--arch/x86/machine/cpu.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/machine/cpu.c b/arch/x86/machine/cpu.c
index 673dd637..a141f3e9 100644
--- a/arch/x86/machine/cpu.c
+++ b/arch/x86/machine/cpu.c
@@ -396,13 +396,6 @@ cpu_load_idt(void)
asm volatile("lidt %0" : : "m" (idtr));
}
-static inline void
-cpu_cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx,
- unsigned int *edx)
-{
- asm volatile("cpuid" : "+a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx));
-}
-
/*
* Initialize the given cpu structure for the current processor.
*/