[PATCH v1 0/2] ARM:prima2: multi_v7 kernel fixes.

From: Srinivas KANDAGATLA
Date: Fri May 31 2013 - 05:54:15 EST


From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/