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

From: Tomasz Nowicki
Date: Fri Jan 17 2014 - 09:36:09 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/