aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_percpu.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-01-27 00:25:05 -0500
committerTejun Heo <tj@kernel.org>2009-01-27 00:25:05 -0500
commitcf3997f507624757f149fcc42b76fb03c151fb65 (patch)
tree6f47439ca5245a607add4bdace28467ac1121864 /arch/x86/kernel/setup_percpu.c
parent22f25138c345ec46a13744c93c093ff822cd98d1 (diff)
x86: clean up indentation in setup_per_cpu_areas()
Impact: cosmetic cleanup Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/kernel/setup_percpu.c')
-rw-r--r--arch/x86/kernel/setup_percpu.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c
index c7458ead22de..0d1e7ac439f4 100644
--- a/arch/x86/kernel/setup_percpu.c
+++ b/arch/x86/kernel/setup_percpu.c
@@ -96,22 +96,25 @@ void __init setup_per_cpu_areas(void)
96 per_cpu(cpu_number, cpu) = cpu; 96 per_cpu(cpu_number, cpu) = cpu;
97 setup_percpu_segment(cpu); 97 setup_percpu_segment(cpu);
98 /* 98 /*
99 * Copy data used in early init routines from the initial arrays to the 99 * Copy data used in early init routines from the
100 * per cpu data areas. These arrays then become expendable and the 100 * initial arrays to the per cpu data areas. These
101 * *_early_ptr's are zeroed indicating that the static arrays are gone. 101 * arrays then become expendable and the *_early_ptr's
102 * are zeroed indicating that the static arrays are
103 * gone.
102 */ 104 */
103#ifdef CONFIG_X86_LOCAL_APIC 105#ifdef CONFIG_X86_LOCAL_APIC
104 per_cpu(x86_cpu_to_apicid, cpu) = 106 per_cpu(x86_cpu_to_apicid, cpu) =
105 early_per_cpu_map(x86_cpu_to_apicid, cpu); 107 early_per_cpu_map(x86_cpu_to_apicid, cpu);
106 per_cpu(x86_bios_cpu_apicid, cpu) = 108 per_cpu(x86_bios_cpu_apicid, cpu) =
107 early_per_cpu_map(x86_bios_cpu_apicid, cpu); 109 early_per_cpu_map(x86_bios_cpu_apicid, cpu);
108#endif 110#endif
109#ifdef CONFIG_X86_64 111#ifdef CONFIG_X86_64
110 per_cpu(irq_stack_ptr, cpu) = 112 per_cpu(irq_stack_ptr, cpu) =
111 per_cpu(irq_stack_union.irq_stack, cpu) + IRQ_STACK_SIZE - 64; 113 per_cpu(irq_stack_union.irq_stack, cpu) +
114 IRQ_STACK_SIZE - 64;
112#ifdef CONFIG_NUMA 115#ifdef CONFIG_NUMA
113 per_cpu(x86_cpu_to_node_map, cpu) = 116 per_cpu(x86_cpu_to_node_map, cpu) =
114 early_per_cpu_map(x86_cpu_to_node_map, cpu); 117 early_per_cpu_map(x86_cpu_to_node_map, cpu);
115#endif 118#endif
116#endif 119#endif
117 /* 120 /*