summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/iseries
diff options
context:
space:
mode:
authorDavid Gibson2005-11-24 06:34:45 +0100
committerPaul Mackerras2006-01-09 04:50:32 +0100
commit1888e7b51c0cb5db49911b59cb758ad2c7a530f2 (patch)
treedab7d7cbb895658845dce88f1b2bacc0f7238e50 /include/asm-powerpc/iseries
parent[PATCH] powerpc: Make hugepage mappings respect hint addresses (diff)
downloadkernel-qcow2-linux-1888e7b51c0cb5db49911b59cb758ad2c7a530f2.tar.gz
kernel-qcow2-linux-1888e7b51c0cb5db49911b59cb758ad2c7a530f2.tar.xz
kernel-qcow2-linux-1888e7b51c0cb5db49911b59cb758ad2c7a530f2.zip
[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 'include/asm-powerpc/iseries')
-rw-r--r--include/asm-powerpc/iseries/it_lp_reg_save.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/iseries/it_lp_reg_save.h b/include/asm-powerpc/iseries/it_lp_reg_save.h
index 288044b702de..81824e1bb767 100644
--- a/include/asm-powerpc/iseries/it_lp_reg_save.h
+++ b/include/asm-powerpc/iseries/it_lp_reg_save.h
@@ -81,4 +81,6 @@ struct ItLpRegSave {
u8 xRsvd3[176]; // Reserved 350-3FF
};
+extern struct ItLpRegSave iseries_reg_save[];
+
#endif /* _ITLPREGSAVE_H */