linux-sg2042/arch/arm/mach-socfpga
Arnd Bergmann 9560f840f3 ARM: socfpga: mark secondary_trampoline as cpuinit
The socfpga_boot_secondary is correctly marked as __cpuinit but references
secondary_trampoline, which was introduced into the init section, causing
this build warning:

WARNING: vmlinux.o(.cpuinit.text+0xf90): Section mismatch in reference from the function socfpga_boot_secondary() to the variable .init.text:secondary_trampoline
The function __cpuinit socfpga_boot_secondary() references
a variable __init secondary_trampoline.
If secondary_trampoline is only used by socfpga_boot_secondary then
annotate secondary_trampoline with a matching annotation.

The solution is to mark secondary_trampoline as cpuinit as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2012-11-06 23:14:49 +01:00
..
Kconfig ARM: socfpga: Enable SMP for socfpga 2012-10-26 14:59:39 +02:00
Makefile ARM: socfpga: Enable SMP for socfpga 2012-10-26 14:59:39 +02:00
core.h ARM: socfpga: Enable SMP for socfpga 2012-10-26 14:59:39 +02:00
headsmp.S ARM: socfpga: mark secondary_trampoline as cpuinit 2012-11-06 23:14:49 +01:00
platsmp.c ARM: socfpga: Enable SMP for socfpga 2012-10-26 14:59:39 +02:00
socfpga.c socfpga: map uart into virtual address space so that early_printk() works 2012-11-05 09:17:20 -08:00