X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=target%2Flinux%2Fps3%2Fpatches-2.6.28%2F0014-powerpc-ps3-Move-ps3_mm_add_memory-to-device_initca.patch;fp=target%2Flinux%2Fps3%2Fpatches-2.6.28%2F0014-powerpc-ps3-Move-ps3_mm_add_memory-to-device_initca.patch;h=0000000000000000000000000000000000000000;hb=96ed4a698a5bac3a5d71b15fccc508d30dff728d;hp=ad2a6caad93abd4c9c21575965e925c7902de068;hpb=a6f6e4f915c8f1065060c67aca81de432d1e8ca1;p=openwrt-10.03%2F.git diff --git a/target/linux/ps3/patches-2.6.28/0014-powerpc-ps3-Move-ps3_mm_add_memory-to-device_initca.patch b/target/linux/ps3/patches-2.6.28/0014-powerpc-ps3-Move-ps3_mm_add_memory-to-device_initca.patch deleted file mode 100644 index ad2a6caad..000000000 --- a/target/linux/ps3/patches-2.6.28/0014-powerpc-ps3-Move-ps3_mm_add_memory-to-device_initca.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 0047656e2a97d4452dd7df9e52591a7afe21a263 Mon Sep 17 00:00:00 2001 -From: Geoff Levand -Date: Thu, 12 Feb 2009 12:36:16 +0000 -Subject: [PATCH] powerpc/ps3: Move ps3_mm_add_memory to device_initcall - -Change the PS3 hotplug memory routine ps3_mm_add_memory() from -a core_initcall to a device_initcall. - -core_initcall routines run before the powerpc topology_init() -startup routine, which is a subsys_initcall, resulting in -failure of ps3_mm_add_memory() when CONFIG_NUMA=y. When -ps3_mm_add_memory() fails the system will boot with just the -128 MiB of boot memory - -Signed-off-by: Geoff Levand -Signed-off-by: Benjamin Herrenschmidt ---- - arch/powerpc/platforms/ps3/mm.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/arch/powerpc/platforms/ps3/mm.c b/arch/powerpc/platforms/ps3/mm.c -index 67de6bf..d281cc0 100644 ---- a/arch/powerpc/platforms/ps3/mm.c -+++ b/arch/powerpc/platforms/ps3/mm.c -@@ -328,7 +328,7 @@ static int __init ps3_mm_add_memory(void) - return result; - } - --core_initcall(ps3_mm_add_memory); -+device_initcall(ps3_mm_add_memory); - - /*============================================================================*/ - /* dma routines */ --- -1.6.0.4 -