summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-08-18 11:24:27 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-18 12:53:59 -0700
commit6be382ea0c767a81be0e7980400b9b18167b3261 (patch)
tree902e540aa7fef2b8804d0adf0d36104305039229 /arch
parentc6a3ea22af7a2ed36afa4672a86b3a86d604db33 (diff)
downloadlinux-3.10-6be382ea0c767a81be0e7980400b9b18167b3261.tar.gz
linux-3.10-6be382ea0c767a81be0e7980400b9b18167b3261.tar.bz2
linux-3.10-6be382ea0c767a81be0e7980400b9b18167b3261.zip
[PATCH] x86: Remove obsolete get_cpu_vendor call
Since early CPU identify is in this information is already available Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/apic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
index bd1dbf3bd22..a22a866de8f 100644
--- a/arch/i386/kernel/apic.c
+++ b/arch/i386/kernel/apic.c
@@ -726,15 +726,11 @@ __setup("apic=", apic_set_verbosity);
static int __init detect_init_APIC (void)
{
u32 h, l, features;
- extern void get_cpu_vendor(struct cpuinfo_x86*);
/* Disabled by kernel option? */
if (enable_local_apic < 0)
return -1;
- /* Workaround for us being called before identify_cpu(). */
- get_cpu_vendor(&boot_cpu_data);
-
switch (boot_cpu_data.x86_vendor) {
case X86_VENDOR_AMD:
if ((boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model > 1) ||