]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix apparent code overlap in ppc64 head.S
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 19 Aug 2005 04:52:32 +0000 (14:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 29 Aug 2005 00:53:34 +0000 (10:53 +1000)
commit5590352c9cd96b39d3f414f63d49b036a085b2a2
treecdf432886e5e36ca2f45eac7daa09d09ec1c9882
parentdeee9d0f1e39f9ea9d989d51273e0c1a4ad9098d
[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>
arch/ppc64/kernel/head.S