[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>
This commit is contained in:
committed by
Paul Mackerras
parent
3eb9cf0761
commit
30ff2e87ed
@@ -45,7 +45,6 @@
|
||||
#ifdef CONFIG_PPC64
|
||||
#include <asm/hvcall.h>
|
||||
#include <asm/paca.h>
|
||||
#include <asm/iseries/it_lp_reg_save.h>
|
||||
#endif
|
||||
|
||||
#include "nonstdio.h"
|
||||
@@ -1598,7 +1597,6 @@ void super_regs(void)
|
||||
if (firmware_has_feature(FW_FEATURE_ISERIES)) {
|
||||
struct paca_struct *ptrPaca;
|
||||
struct lppaca *ptrLpPaca;
|
||||
struct ItLpRegSave *ptrLpRegSave;
|
||||
|
||||
/* Dump out relevant Paca data areas. */
|
||||
printf("Paca: \n");
|
||||
@@ -1611,15 +1609,6 @@ void super_regs(void)
|
||||
printf(" Saved Gpr3=%.16lx Saved Gpr4=%.16lx \n",
|
||||
ptrLpPaca->saved_gpr3, ptrLpPaca->saved_gpr4);
|
||||
printf(" Saved Gpr5=%.16lx \n", ptrLpPaca->saved_gpr5);
|
||||
|
||||
printf(" Local Processor Register Save Area (LpRegSave): \n");
|
||||
ptrLpRegSave = ptrPaca->reg_save_ptr;
|
||||
printf(" Saved Sprg0=%.16lx Saved Sprg1=%.16lx \n",
|
||||
ptrLpRegSave->xSPRG0, ptrLpRegSave->xSPRG0);
|
||||
printf(" Saved Sprg2=%.16lx Saved Sprg3=%.16lx \n",
|
||||
ptrLpRegSave->xSPRG2, ptrLpRegSave->xSPRG3);
|
||||
printf(" Saved Msr =%.16lx Saved Nia =%.16lx \n",
|
||||
ptrLpRegSave->xMSR, ptrLpRegSave->xNIA);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user