]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[PATCH] Remove wrong cpu_has_apic checks that came from mismerging
authorAndi Kleen <ak@suse.de>
Thu, 4 May 2006 02:54:57 +0000 (19:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 4 May 2006 03:05:31 +0000 (20:05 -0700)
We only need to check cpu_has_apic in the IO-APIC/L-APIC parsing, not for
all of ACPI.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/acpi/boot.c

index 4c785a67d5852d4fd1fecbd40cb4c9db2dc9868f..40e5aba3ad3d425f1545ff7e199e1356a56e38d8 100644 (file)
@@ -1102,9 +1102,6 @@ int __init acpi_boot_table_init(void)
        dmi_check_system(acpi_dmi_table);
 #endif
 
-       if (!cpu_has_apic)
-               return -ENODEV;
-
        /*
         * If acpi_disabled, bail out
         * One exception: acpi=ht continues far enough to enumerate LAPICs
@@ -1151,9 +1148,6 @@ int __init acpi_boot_init(void)
 
        acpi_table_parse(ACPI_BOOT, acpi_parse_sbf);
 
-       if (!cpu_has_apic)
-               return -ENODEV;
-
        /*
         * set sci_int and PM timer address
         */