git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] x86-64: Don't trust boot_cpu_id in the mptable.
[pandora-kernel.git]
/
arch
/
x86_64
/
kernel
/
apic.c
diff --git
a/arch/x86_64/kernel/apic.c
b/arch/x86_64/kernel/apic.c
index
12e9d6c
..
a759f4e
100644
(file)
--- 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).
*/
* 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
{
#ifdef CONFIG_X86_IO_APIC
{