提交 55d36339 编写于 作者: D David Gibson 提交者: Paul Mackerras

[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: NDavid Gibson <dwg@au1.ibm.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 61f684ec
...@@ -1955,13 +1955,11 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4, ...@@ -1955,13 +1955,11 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4,
prom_send_capabilities(); prom_send_capabilities();
#endif #endif
#if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_PPC_BPA)
/* /*
* On pSeries and BPA, copy the CPU hold code * On pSeries and BPA, copy the CPU hold code
*/ */
if (RELOC(of_platform) & (PLATFORM_PSERIES | PLATFORM_BPA)) if (RELOC(of_platform) != PLATFORM_POWERMAC)
copy_and_flush(0, KERNELBASE + offset, 0x100, 0); copy_and_flush(0, KERNELBASE + offset, 0x100, 0);
#endif
/* /*
* Do early parsing of command line * Do early parsing of command line
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册