diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:35 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:35 -0500 |
commit | 64883ab0e3386d72112a9091d886352a7b4b8bf6 (patch) | |
tree | 6adf29b7f7fae6d10d173ece49c5fc9990100b29 /arch/x86/kernel/mpparse_32.c | |
parent | d291cf83639a0e0b67ff783b6ed29c0a747d4901 (diff) |
x86: cleanup mpspec variants
Bring the mpspec variants into sync to prepare merging and
paravirt support.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/mpparse_32.c')
-rw-r--r-- | arch/x86/kernel/mpparse_32.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index 7a05a7f6099a..22fc8d7dec11 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c | |||
@@ -258,7 +258,7 @@ static void __init MP_ioapic_info (struct mpc_config_ioapic *m) | |||
258 | if (!(m->mpc_flags & MPC_APIC_USABLE)) | 258 | if (!(m->mpc_flags & MPC_APIC_USABLE)) |
259 | return; | 259 | return; |
260 | 260 | ||
261 | printk(KERN_INFO "I/O APIC #%d Version %d at 0x%lX.\n", | 261 | printk(KERN_INFO "I/O APIC #%d Version %d at 0x%X.\n", |
262 | m->mpc_apicid, m->mpc_apicver, m->mpc_apicaddr); | 262 | m->mpc_apicid, m->mpc_apicver, m->mpc_apicaddr); |
263 | if (nr_ioapics >= MAX_IO_APICS) { | 263 | if (nr_ioapics >= MAX_IO_APICS) { |
264 | printk(KERN_CRIT "Max # of I/O APICs (%d) exceeded (found %d).\n", | 264 | printk(KERN_CRIT "Max # of I/O APICs (%d) exceeded (found %d).\n", |
@@ -405,9 +405,9 @@ static int __init smp_read_mpc(struct mp_config_table *mpc) | |||
405 | 405 | ||
406 | mps_oem_check(mpc, oem, str); | 406 | mps_oem_check(mpc, oem, str); |
407 | 407 | ||
408 | printk("APIC at: 0x%lX\n",mpc->mpc_lapic); | 408 | printk("APIC at: 0x%X\n", mpc->mpc_lapic); |
409 | 409 | ||
410 | /* | 410 | /* |
411 | * Save the local APIC address (it might be non-default) -- but only | 411 | * Save the local APIC address (it might be non-default) -- but only |
412 | * if we're not using ACPI. | 412 | * if we're not using ACPI. |
413 | */ | 413 | */ |
@@ -918,14 +918,14 @@ void __init mp_register_ioapic(u8 id, u32 address, u32 gsi_base) | |||
918 | */ | 918 | */ |
919 | mp_ioapic_routing[idx].apic_id = mp_ioapics[idx].mpc_apicid; | 919 | mp_ioapic_routing[idx].apic_id = mp_ioapics[idx].mpc_apicid; |
920 | mp_ioapic_routing[idx].gsi_base = gsi_base; | 920 | mp_ioapic_routing[idx].gsi_base = gsi_base; |
921 | mp_ioapic_routing[idx].gsi_end = gsi_base + | 921 | mp_ioapic_routing[idx].gsi_end = gsi_base + |
922 | io_apic_get_redir_entries(idx); | 922 | io_apic_get_redir_entries(idx); |
923 | 923 | ||
924 | printk("IOAPIC[%d]: apic_id %d, version %d, address 0x%lx, " | 924 | printk("IOAPIC[%d]: apic_id %d, version %d, address 0x%x, " |
925 | "GSI %d-%d\n", idx, mp_ioapics[idx].mpc_apicid, | 925 | "GSI %d-%d\n", idx, mp_ioapics[idx].mpc_apicid, |
926 | mp_ioapics[idx].mpc_apicver, mp_ioapics[idx].mpc_apicaddr, | 926 | mp_ioapics[idx].mpc_apicver, mp_ioapics[idx].mpc_apicaddr, |
927 | mp_ioapic_routing[idx].gsi_base, | 927 | mp_ioapic_routing[idx].gsi_base, |
928 | mp_ioapic_routing[idx].gsi_end); | 928 | mp_ioapic_routing[idx].gsi_end); |
929 | } | 929 | } |
930 | 930 | ||
931 | void __init | 931 | void __init |