aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2005-10-13 01:46:22 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-17 07:43:12 -0400
commit55d363397f1bdfa4fe861f0e2fadb058c79dafea (patch)
treee09d805e36f1a024bd999c8f3b4bc620608ece4b /arch
parent61f684ec074f40e2e13e750513df42c0c046689b (diff)
[PATCH] powerpc: Another maple merge tree fix
With ARCH=powerpc, a spurious ifdef in prom_init prevented the seconday hold loop being correctly copied down on Maple. With this patch, Maple boots with ARCH=powerpc Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/prom_init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index d9130c839039..9b1baaa9eda0 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -1955,13 +1955,11 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4,
1955 prom_send_capabilities(); 1955 prom_send_capabilities();
1956#endif 1956#endif
1957 1957
1958#if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_PPC_BPA)
1959 /* 1958 /*
1960 * On pSeries and BPA, copy the CPU hold code 1959 * On pSeries and BPA, copy the CPU hold code
1961 */ 1960 */
1962 if (RELOC(of_platform) & (PLATFORM_PSERIES | PLATFORM_BPA)) 1961 if (RELOC(of_platform) != PLATFORM_POWERMAC)
1963 copy_and_flush(0, KERNELBASE + offset, 0x100, 0); 1962 copy_and_flush(0, KERNELBASE + offset, 0x100, 0);
1964#endif
1965 1963
1966 /* 1964 /*
1967 * Do early parsing of command line 1965 * Do early parsing of command line