[PATCH 2/3] mach-ux500: initialize l2x0 at arch_init time

Linus Walleij linus.walleij at stericsson.com
Wed Aug 24 05:23:46 EDT 2011


From: Linus Walleij <linus.walleij at linaro.org>

mach-imx initialize their l2x0 cach at arch_init time, so
why shouldn't we.

Cc: Srinidhi Kasagar <srinidhi.kasagar at stericsson.com>
Cc: Rabin Vincent <rabin.vincent at stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 arch/arm/mach-ux500/cache-l2x0.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-ux500/cache-l2x0.c b/arch/arm/mach-ux500/cache-l2x0.c
index 9d09e4d..aa2d77f 100644
--- a/arch/arm/mach-ux500/cache-l2x0.c
+++ b/arch/arm/mach-ux500/cache-l2x0.c
@@ -69,4 +69,4 @@ static int ux500_l2x0_init(void)
 	return 0;
 }
 
-early_initcall(ux500_l2x0_init);
+arch_initcall(ux500_l2x0_init);
-- 
1.7.3.2




More information about the linux-arm-kernel mailing list