[PATCH v1 0/2] ARM:prima2: multi_v7 kernel fixes.
Srinivas KANDAGATLA
srinivas.kandagatla at st.com
Fri May 31 05:43:59 EDT 2013
From: Srinivas Kandagatla <srinivas.kandagatla at st.com>
If we try to boot a multi_v7_defconfig kernel on any ARM parts other than
prima2, you will hit kernel panics. This is because some of the code is still
using explicit early_initcall and postcore_initcalls.
Moving these calls to machine descriptor level is the right way to fix this
issue. Also the calls will not be attempted to run on any non-prima2 parts.
As I do not have any prima2 boards, I could not test these patches.
However I feel that these are safe patches.
Barry, can you give it a quick test please.
Thankyou,
srini
Srinivas Kandagatla (2):
ARM:prima2: move sirfsoc_of_rstc_init to .init_early
ARM:prima2:move postcore_initcalls to init_machine.
arch/arm/mach-prima2/common.c | 6 ++++++
arch/arm/mach-prima2/common.h | 1 +
arch/arm/mach-prima2/pm.c | 6 ++----
arch/arm/mach-prima2/pm.h | 2 ++
arch/arm/mach-prima2/rstc.c | 5 +----
5 files changed, 12 insertions(+), 8 deletions(-)
--
1.7.6.5
More information about the linux-arm-kernel
mailing list