diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2005-11-24 05:34:45 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 03:50:32 (GMT) |
commit | 1888e7b51c0cb5db49911b59cb758ad2c7a530f2 (patch) | |
tree | dab7d7cbb895658845dce88f1b2bacc0f7238e50 /arch/powerpc/platforms/iseries/lpardata.c | |
parent | 456752f7505ef8f580ffd157558e661da2767d99 (diff) | |
download | linux-fsl-qoriq-1888e7b51c0cb5db49911b59cb758ad2c7a530f2.tar.xz |
[PATCH] powerpc: Remove ItLpRegSave area from the paca
On iSeries, the paca contains, amongst other things an ItLpRegSave
structure used by the hypervisor to save registers. The hypervisor
locates this area through a pointer at the beginning of the paca, so
the structure itself can be located elsewhere. This patch moves the
reg_save area out into its own array. This reduces the amount of
iSeries specific gunk which is visible to general powerpc code via
paca.h
Built and booted on POWER5 LPAR and iSeries RS64.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries/lpardata.c')
-rw-r--r-- | arch/powerpc/platforms/iseries/lpardata.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/lpardata.c b/arch/powerpc/platforms/iseries/lpardata.c index bb8c915..ea72385 100644 --- a/arch/powerpc/platforms/iseries/lpardata.c +++ b/arch/powerpc/platforms/iseries/lpardata.c @@ -225,3 +225,10 @@ struct ItVpdAreas itVpdAreas = { 0,0 } }; + +struct ItLpRegSave iseries_reg_save[] = { + [0 ... (NR_CPUS-1)] = { + .xDesc = 0xd397d9e2, /* "LpRS" */ + .xSize = sizeof(struct ItLpRegSave), + }, +}; |