mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
x86: clean up indentation in setup_per_cpu_areas()
Impact: cosmetic cleanup Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
22f25138c3
commit
cf3997f507
@ -96,22 +96,25 @@ void __init setup_per_cpu_areas(void)
|
|||||||
per_cpu(cpu_number, cpu) = cpu;
|
per_cpu(cpu_number, cpu) = cpu;
|
||||||
setup_percpu_segment(cpu);
|
setup_percpu_segment(cpu);
|
||||||
/*
|
/*
|
||||||
* Copy data used in early init routines from the initial arrays to the
|
* Copy data used in early init routines from the
|
||||||
* per cpu data areas. These arrays then become expendable and the
|
* initial arrays to the per cpu data areas. These
|
||||||
* *_early_ptr's are zeroed indicating that the static arrays are gone.
|
* arrays then become expendable and the *_early_ptr's
|
||||||
|
* are zeroed indicating that the static arrays are
|
||||||
|
* gone.
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_X86_LOCAL_APIC
|
#ifdef CONFIG_X86_LOCAL_APIC
|
||||||
per_cpu(x86_cpu_to_apicid, cpu) =
|
per_cpu(x86_cpu_to_apicid, cpu) =
|
||||||
early_per_cpu_map(x86_cpu_to_apicid, cpu);
|
early_per_cpu_map(x86_cpu_to_apicid, cpu);
|
||||||
per_cpu(x86_bios_cpu_apicid, cpu) =
|
per_cpu(x86_bios_cpu_apicid, cpu) =
|
||||||
early_per_cpu_map(x86_bios_cpu_apicid, cpu);
|
early_per_cpu_map(x86_bios_cpu_apicid, cpu);
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
per_cpu(irq_stack_ptr, cpu) =
|
per_cpu(irq_stack_ptr, cpu) =
|
||||||
per_cpu(irq_stack_union.irq_stack, cpu) + IRQ_STACK_SIZE - 64;
|
per_cpu(irq_stack_union.irq_stack, cpu) +
|
||||||
|
IRQ_STACK_SIZE - 64;
|
||||||
#ifdef CONFIG_NUMA
|
#ifdef CONFIG_NUMA
|
||||||
per_cpu(x86_cpu_to_node_map, cpu) =
|
per_cpu(x86_cpu_to_node_map, cpu) =
|
||||||
early_per_cpu_map(x86_cpu_to_node_map, cpu);
|
early_per_cpu_map(x86_cpu_to_node_map, cpu);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user