[PATCH 1/3] ARM: cache-l2x0: make the reinitialization possible
From: Barry Song <hidden>
Date: 2011-08-30 14:08:59
From: Barry Song <hidden>
Date: 2011-08-30 14:08:59
2011/8/30 Shawn Guo [off-list ref]:
If ARM core gets powered off during suspend, L2 cache controller has to be reinitialized by resume procedure. The patch removes __init annotation from a few initialization functions to make the reinitialization possible. ?For example, platform resume function can call l2x0_of_init() to get L2 cache back to work.
i think it is good. and i have sent a similar patch before: http://www.spinics.net/lists/arm-kernel/msg137372.html [PATCH v2 3/4] ARM: L2X0: move l2x0_init out of .init section people haven't give any feedback yet.
It also adds the empty function for l2x0_init() and l2x0_of_init(), so that we can keep '#ifdef CONFIG_CACHE_L2X0' check in header. Signed-off-by: Shawn Guo <redacted>
-barry