aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mpparse_64.c
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2008-01-30 07:33:14 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:14 -0500
commit693e3c560317577a29c625d89f6745d5c7cfd918 (patch)
tree2f8420f929e8cdb8167a57104b7938658cdd3a8f /arch/x86/kernel/mpparse_64.c
parent4dbf7af6442a9a882855bed0d999659ac413e3ac (diff)
x86: reduce memory and intra-node effects
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/mpparse_64.c')
-rw-r--r--arch/x86/kernel/mpparse_64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c
index fd671754dcb5..d3260f8f17dc 100644
--- a/arch/x86/kernel/mpparse_64.c
+++ b/arch/x86/kernel/mpparse_64.c
@@ -122,7 +122,7 @@ static void __cpuinit MP_processor_info(struct mpc_config_processor *m)
122 physid_set(m->mpc_apicid, phys_cpu_present_map); 122 physid_set(m->mpc_apicid, phys_cpu_present_map);
123 if (m->mpc_cpuflag & CPU_BOOTPROCESSOR) { 123 if (m->mpc_cpuflag & CPU_BOOTPROCESSOR) {
124 /* 124 /*
125 * x86_bios_cpu_apicid is required to have processors listed 125 * x86_bios_cpu_apicid is required to have processors listed
126 * in same order as logical cpu numbers. Hence the first 126 * in same order as logical cpu numbers. Hence the first
127 * entry is BSP, and so on. 127 * entry is BSP, and so on.
128 */ 128 */
@@ -130,8 +130,8 @@ static void __cpuinit MP_processor_info(struct mpc_config_processor *m)
130 } 130 }
131 /* are we being called early in kernel startup? */ 131 /* are we being called early in kernel startup? */
132 if (x86_cpu_to_apicid_early_ptr) { 132 if (x86_cpu_to_apicid_early_ptr) {
133 u16 *cpu_to_apicid = (u16 *)x86_cpu_to_apicid_early_ptr; 133 u16 *cpu_to_apicid = x86_cpu_to_apicid_early_ptr;
134 u16 *bios_cpu_apicid = (u16 *)x86_bios_cpu_apicid_early_ptr; 134 u16 *bios_cpu_apicid = x86_bios_cpu_apicid_early_ptr;
135 135
136 cpu_to_apicid[cpu] = m->mpc_apicid; 136 cpu_to_apicid[cpu] = m->mpc_apicid;
137 bios_cpu_apicid[cpu] = m->mpc_apicid; 137 bios_cpu_apicid[cpu] = m->mpc_apicid;