]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
x86, apic: Drop redundant bit assignment
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 22 Jul 2009 20:52:59 +0000 (00:52 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 5 Aug 2009 08:30:52 +0000 (10:30 +0200)
cpu_has_apic has already investigated boot_cpu_data
X86_FEATURE_APIC bit for being clear if condition is
triggered.

So there is no need to clear this bit second time.

Signed-off-by: Cyrill Gorcuno v <gorcunov@openvz.org>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
LKML-Reference: <20090722205259.GE15805@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/apic.c

index 0a1c2830ec662168a72c1e6780b4f4c8c10075ed..0b021c56e822cbe4d0413770ef5d6662c4e8294f 100644 (file)
@@ -1651,7 +1651,6 @@ int __init APIC_init_uniprocessor(void)
            APIC_INTEGRATED(apic_version[boot_cpu_physical_apicid])) {
                pr_err("BIOS bug, local APIC 0x%x not detected!...\n",
                        boot_cpu_physical_apicid);
-               clear_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC);
                return -1;
        }
 #endif