diff options
Diffstat (limited to 'arch/i386/kernel/smpboot.c')
-rw-r--r-- | arch/i386/kernel/smpboot.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index 01b618e73ecd..47ec76794d02 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c | |||
@@ -68,11 +68,9 @@ EXPORT_SYMBOL(smp_num_siblings); | |||
68 | 68 | ||
69 | /* Package ID of each logical CPU */ | 69 | /* Package ID of each logical CPU */ |
70 | int phys_proc_id[NR_CPUS] __read_mostly = {[0 ... NR_CPUS-1] = BAD_APICID}; | 70 | int phys_proc_id[NR_CPUS] __read_mostly = {[0 ... NR_CPUS-1] = BAD_APICID}; |
71 | EXPORT_SYMBOL(phys_proc_id); | ||
72 | 71 | ||
73 | /* Core ID of each logical CPU */ | 72 | /* Core ID of each logical CPU */ |
74 | int cpu_core_id[NR_CPUS] __read_mostly = {[0 ... NR_CPUS-1] = BAD_APICID}; | 73 | int cpu_core_id[NR_CPUS] __read_mostly = {[0 ... NR_CPUS-1] = BAD_APICID}; |
75 | EXPORT_SYMBOL(cpu_core_id); | ||
76 | 74 | ||
77 | cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly; | 75 | cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly; |
78 | EXPORT_SYMBOL(cpu_sibling_map); | 76 | EXPORT_SYMBOL(cpu_sibling_map); |
@@ -612,7 +610,7 @@ static inline void __inquire_remote_apic(int apicid) | |||
612 | 610 | ||
613 | printk("Inquiring remote APIC #%d...\n", apicid); | 611 | printk("Inquiring remote APIC #%d...\n", apicid); |
614 | 612 | ||
615 | for (i = 0; i < sizeof(regs) / sizeof(*regs); i++) { | 613 | for (i = 0; i < ARRAY_SIZE(regs); i++) { |
616 | printk("... APIC #%d %s: ", apicid, names[i]); | 614 | printk("... APIC #%d %s: ", apicid, names[i]); |
617 | 615 | ||
618 | /* | 616 | /* |