diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-04-10 02:43:47 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-15 07:21:25 -0400 |
commit | 30ff2e87ed55e83b4eb436f5f14a7e49ff81ad99 (patch) | |
tree | 9e1af946cb836c9af2059d4f8b41aa89dd3b780e /arch/powerpc/xmon/xmon.c | |
parent | 3eb9cf076180ed2003db77bd2c33ac4ed0211089 (diff) |
[POWERPC] iSeries: Make iseries_reg_save private to iSeries
Now that we have the alpaca, the reg_save_ptr is no longer needed in the
paca. Eradicate all global uses of it and make it static in the iSeries
lpardata.c
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/xmon/xmon.c')
-rw-r--r-- | arch/powerpc/xmon/xmon.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index a34172ddc468..00fd7647f807 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #ifdef CONFIG_PPC64 | 45 | #ifdef CONFIG_PPC64 |
46 | #include <asm/hvcall.h> | 46 | #include <asm/hvcall.h> |
47 | #include <asm/paca.h> | 47 | #include <asm/paca.h> |
48 | #include <asm/iseries/it_lp_reg_save.h> | ||
49 | #endif | 48 | #endif |
50 | 49 | ||
51 | #include "nonstdio.h" | 50 | #include "nonstdio.h" |
@@ -1598,7 +1597,6 @@ void super_regs(void) | |||
1598 | if (firmware_has_feature(FW_FEATURE_ISERIES)) { | 1597 | if (firmware_has_feature(FW_FEATURE_ISERIES)) { |
1599 | struct paca_struct *ptrPaca; | 1598 | struct paca_struct *ptrPaca; |
1600 | struct lppaca *ptrLpPaca; | 1599 | struct lppaca *ptrLpPaca; |
1601 | struct ItLpRegSave *ptrLpRegSave; | ||
1602 | 1600 | ||
1603 | /* Dump out relevant Paca data areas. */ | 1601 | /* Dump out relevant Paca data areas. */ |
1604 | printf("Paca: \n"); | 1602 | printf("Paca: \n"); |
@@ -1611,15 +1609,6 @@ void super_regs(void) | |||
1611 | printf(" Saved Gpr3=%.16lx Saved Gpr4=%.16lx \n", | 1609 | printf(" Saved Gpr3=%.16lx Saved Gpr4=%.16lx \n", |
1612 | ptrLpPaca->saved_gpr3, ptrLpPaca->saved_gpr4); | 1610 | ptrLpPaca->saved_gpr3, ptrLpPaca->saved_gpr4); |
1613 | printf(" Saved Gpr5=%.16lx \n", ptrLpPaca->saved_gpr5); | 1611 | printf(" Saved Gpr5=%.16lx \n", ptrLpPaca->saved_gpr5); |
1614 | |||
1615 | printf(" Local Processor Register Save Area (LpRegSave): \n"); | ||
1616 | ptrLpRegSave = ptrPaca->reg_save_ptr; | ||
1617 | printf(" Saved Sprg0=%.16lx Saved Sprg1=%.16lx \n", | ||
1618 | ptrLpRegSave->xSPRG0, ptrLpRegSave->xSPRG0); | ||
1619 | printf(" Saved Sprg2=%.16lx Saved Sprg3=%.16lx \n", | ||
1620 | ptrLpRegSave->xSPRG2, ptrLpRegSave->xSPRG3); | ||
1621 | printf(" Saved Msr =%.16lx Saved Nia =%.16lx \n", | ||
1622 | ptrLpRegSave->xMSR, ptrLpRegSave->xNIA); | ||
1623 | } | 1612 | } |
1624 | #endif | 1613 | #endif |
1625 | 1614 | ||