]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Remove NACA fixed address constraint
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 19 Aug 2005 04:52:31 +0000 (14:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 29 Aug 2005 00:53:33 +0000 (10:53 +1000)
commit06d51edb89e342a3678f3ddee79650cf4e3e1f0e
tree745b7fb19e2fb48265aed6eb8ee33217a9e3f22a
parent82cb0b99f1f5d15bfe7d816c8e44032c4a4edb48
[PATCH] Remove NACA fixed address constraint

Comments in head.S suggest that the iSeries naca has a fixed address,
because tools expect to find it there.  The only tool which appears to
access the naca is addRamDisk, but both the in-kernel version and the
version used in RHEL and SuSE in fact locate the NACA the same way as
the hypervisor does, by following the pointer in the hvReleaseData
structure.

Since the requirement for a fixed address seems to be obsolete, this
patch removes the naca from head.S and replaces it with a normal C
initializer.

For good measure, it removes an old version of addRamDisk.c which was
sitting, unused, in the ppc32 tree.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/boot/utils/addRamDisk.c [deleted file]
arch/ppc64/kernel/LparData.c
arch/ppc64/kernel/head.S
include/asm-ppc64/naca.h