aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/smpboot.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-03-09 16:23:09 +0000
committerJan Beulich <jbeulich@novell.com>2011-03-09 16:23:09 +0000
commit601d06e2fbe0c9af5b454840cc6c293fd3efe73d (patch)
treef62600fb9b15b82484a28d1632508241b70568b9 /xen/arch/x86/smpboot.c
parent086c24e10f31f887e81dc89300ea4632c94acb2b (diff)
downloadxen-601d06e2fbe0c9af5b454840cc6c293fd3efe73d.tar.gz
xen-601d06e2fbe0c9af5b454840cc6c293fd3efe73d.tar.bz2
xen-601d06e2fbe0c9af5b454840cc6c293fd3efe73d.zip
x86: cleanup mpparse.c
Remove unused and pointless bits from mpparse.c (and other files where they are related to it). Of what remains, move whatever possible into .init.*, and some data items into .data.read_mostly. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/smpboot.c')
-rw-r--r--xen/arch/x86/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index 39eb583e84..8a59d905e0 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -901,7 +901,7 @@ int cpu_add(uint32_t apic_id, uint32_t acpi_id, uint32_t pxm)
goto out;
}
- if ( (cpu = mp_register_lapic(apic_id, 1)) < 0 )
+ if ( (cpu = mp_register_lapic(apic_id, 1, 1)) < 0 )
goto out;
x86_acpiid_to_apicid[acpi_id] = apic_id;