powerpc: Remove FW_FEATURE ISERIES from arch code
This is no longer selectable, so just remove all the dependent code. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
此提交包含在:

提交者
Benjamin Herrenschmidt

父節點
ec86b45af4
當前提交
f5339277eb
@@ -39,7 +39,6 @@
|
||||
#include <asm/irq_regs.h>
|
||||
#include <asm/spu.h>
|
||||
#include <asm/spu_priv1.h>
|
||||
#include <asm/firmware.h>
|
||||
#include <asm/setjmp.h>
|
||||
#include <asm/reg.h>
|
||||
|
||||
@@ -1635,25 +1634,6 @@ static void super_regs(void)
|
||||
mfspr(SPRN_DEC), mfspr(SPRN_SPRG2));
|
||||
printf("sp = "REG" sprg3= "REG"\n", sp, mfspr(SPRN_SPRG3));
|
||||
printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR));
|
||||
#ifdef CONFIG_PPC_ISERIES
|
||||
if (firmware_has_feature(FW_FEATURE_ISERIES)) {
|
||||
struct paca_struct *ptrPaca;
|
||||
struct lppaca *ptrLpPaca;
|
||||
|
||||
/* Dump out relevant Paca data areas. */
|
||||
printf("Paca: \n");
|
||||
ptrPaca = local_paca;
|
||||
|
||||
printf(" Local Processor Control Area (LpPaca): \n");
|
||||
ptrLpPaca = ptrPaca->lppaca_ptr;
|
||||
printf(" Saved Srr0=%.16lx Saved Srr1=%.16lx \n",
|
||||
ptrLpPaca->saved_srr0, ptrLpPaca->saved_srr1);
|
||||
printf(" Saved Gpr3=%.16lx Saved Gpr4=%.16lx \n",
|
||||
ptrLpPaca->saved_gpr3, ptrLpPaca->saved_gpr4);
|
||||
printf(" Saved Gpr5=%.16lx \n",
|
||||
ptrLpPaca->gpr5_dword.saved_gpr5);
|
||||
}
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -2856,10 +2836,6 @@ static void dump_tlb_book3e(void)
|
||||
|
||||
static void xmon_init(int enable)
|
||||
{
|
||||
#ifdef CONFIG_PPC_ISERIES
|
||||
if (firmware_has_feature(FW_FEATURE_ISERIES))
|
||||
return;
|
||||
#endif
|
||||
if (enable) {
|
||||
__debugger = xmon;
|
||||
__debugger_ipi = xmon_ipi;
|
||||
@@ -2896,10 +2872,6 @@ static struct sysrq_key_op sysrq_xmon_op = {
|
||||
|
||||
static int __init setup_xmon_sysrq(void)
|
||||
{
|
||||
#ifdef CONFIG_PPC_ISERIES
|
||||
if (firmware_has_feature(FW_FEATURE_ISERIES))
|
||||
return 0;
|
||||
#endif
|
||||
register_sysrq_key('x', &sysrq_xmon_op);
|
||||
return 0;
|
||||
}
|
||||
|
新增問題並參考
封鎖使用者