[PATCH] Fix apparent code overlap in ppc64 head.S

An #if/#else construct near the top of ppc64's head.S appears to
create overlapping sections of code for iSeries and pSeries (i.e. one
thing on iSeries and something different in the same place on
pSeries). In fact, checking the various absolute offsets, it doesn't.
This patch unravels the #ifdefs to make it more obvious what's going
on. This accomplishes another microstep towards a single kernel image
which can boot both iSeries and pSeries.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

David Gibson and committed by
Paul Mackerras
60ba4494 0ab20002

+2 -2
+2 -2
arch/ppc64/kernel/head.S
··· 93 93 94 94 /* Catch branch to 0 in real mode */ 95 95 trap 96 + 96 97 #ifdef CONFIG_PPC_ISERIES 97 98 /* 98 99 * At offset 0x20, there is a pointer to iSeries LPAR data. ··· 120 119 embedded_sysmap_end: 121 120 .llong 0 122 121 123 - #else /* CONFIG_PPC_ISERIES */ 122 + #endif /* CONFIG_PPC_ISERIES */ 124 123 125 124 /* Secondary processors spin on this value until it goes to 1. */ 126 125 .globl __secondary_hold_spinloop ··· 168 167 b .pSeries_secondary_smp_init 169 168 #else 170 169 BUG_OPCODE 171 - #endif 172 170 #endif 173 171 #endif 174 172