OSDN Git Service

ARM: imx6: remove __CPUINIT annotation from v7_invalidate_l1
authorShawn Guo <shawn.guo@linaro.org>
Sat, 31 Dec 2011 01:40:39 +0000 (09:40 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sat, 31 Dec 2011 01:40:39 +0000 (09:40 +0800)
The recent suspend testing on !SMP build discovers that the __CPUINIT
annotation for v7_invalidate_l1 should not be there, as the function
is called by resume path for not only SMP but also !SMP build.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/head-v7.S

index c844112..914f2a1 100644 (file)
@@ -16,7 +16,6 @@
 #include <asm/hardware/cache-l2x0.h>
 
        .section ".text.head", "ax"
-       __CPUINIT
 
 /*
  * The secondary kernel init calls v7_flush_dcache_all before it enables