[PATCH 12/20] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

Tomasz Nowicki tomasz.nowicki at linaro.org
Fri Jan 17 09:35:43 EST 2014


On 01/17/14 15:15, Arnd Bergmann wrote:
> On Friday 17 January 2014, Hanjun Guo wrote:
>> +/* Parked Address in ACPI GIC structure */
>> +static u64 parked_address[NR_CPUS];
>
> Please use the per_cpu infrastructure rather than NR_CPUS long arrays.
Actually, per_cpu areas are initialized a bit later. If we really want 
to use here per_cpu, then we need to implement early_per_cpu 
Frankenstein like x86 does.

Tomasz



More information about the linux-arm-kernel mailing list