X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fx86_64%2Fkernel%2Fapic.c;h=a759f4e745570a85e55507573acd231e7322e6de;hp=12e9d6ca7222eeb1a9ae677e9a38a40b10e81960;hb=1d3fbbf9fe8d5cd5f94256781cc69a4ac289a767;hpb=8c566ef5f3eb5d9daf61d0fa31d82c211f601ba0;ds=sidebyside diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c index 12e9d6ca7222..a759f4e74557 100644 --- a/arch/x86_64/kernel/apic.c +++ b/arch/x86_64/kernel/apic.c @@ -622,8 +622,7 @@ void __init init_apic_mappings(void) * Fetch the APIC ID of the BSP in case we have a * default configuration (or the MP table is broken). */ - if (boot_cpu_id == -1U) - boot_cpu_id = GET_APIC_ID(apic_read(APIC_ID)); + boot_cpu_id = GET_APIC_ID(apic_read(APIC_ID)); #ifdef CONFIG_X86_IO_APIC {