Skip to content

Commit bba93ee

Browse files
author
Fox Snowpatch
committed
1 parent 35d5936 commit bba93ee

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

arch/powerpc/include/asm/paca.h

-4
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ struct paca_struct {
163163
u64 kstack; /* Saved Kernel stack addr */
164164
u64 saved_r1; /* r1 save for RTAS calls or PM or EE=0 */
165165
u64 saved_msr; /* MSR saved here by enter_rtas */
166-
#ifdef CONFIG_PPC64
167166
u64 exit_save_r1; /* Syscall/interrupt R1 save */
168-
#endif
169167
#ifdef CONFIG_PPC_BOOK3E_64
170168
u16 trap_save; /* Used when bad stack is encountered */
171169
#endif
@@ -214,8 +212,6 @@ struct paca_struct {
214212
/* Non-maskable exceptions that are not performance critical */
215213
u64 exnmi[EX_SIZE]; /* used for system reset (nmi) */
216214
u64 exmc[EX_SIZE]; /* used for machine checks */
217-
#endif
218-
#ifdef CONFIG_PPC_BOOK3S_64
219215
/* Exclusive stacks for system reset and machine check exception. */
220216
void *nmi_emergency_sp;
221217
void *mc_emergency_sp;

arch/powerpc/kernel/asm-offsets.c

-2
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,7 @@ int main(void)
246246
OFFSET(PACAHWCPUID, paca_struct, hw_cpu_id);
247247
OFFSET(PACAKEXECSTATE, paca_struct, kexec_state);
248248
OFFSET(PACA_DSCR_DEFAULT, paca_struct, dscr_default);
249-
#ifdef CONFIG_PPC64
250249
OFFSET(PACA_EXIT_SAVE_R1, paca_struct, exit_save_r1);
251-
#endif
252250
#ifdef CONFIG_PPC_BOOK3E_64
253251
OFFSET(PACA_TRAP_SAVE, paca_struct, trap_save);
254252
#endif

arch/powerpc/platforms/powermac/feature.c

-2
Original file line numberDiff line numberDiff line change
@@ -2333,7 +2333,6 @@ static struct pmac_mb_def pmac_mb_defs[] = {
23332333
PMAC_TYPE_POWERMAC_G5, g5_features,
23342334
0,
23352335
},
2336-
#ifdef CONFIG_PPC64
23372336
{ "PowerMac7,3", "PowerMac G5",
23382337
PMAC_TYPE_POWERMAC_G5, g5_features,
23392338
0,
@@ -2359,7 +2358,6 @@ static struct pmac_mb_def pmac_mb_defs[] = {
23592358
0,
23602359
},
23612360
#endif /* CONFIG_PPC64 */
2362-
#endif /* CONFIG_PPC64 */
23632361
};
23642362

23652363
/*

arch/powerpc/xmon/xmon.c

-2
Original file line numberDiff line numberDiff line change
@@ -643,10 +643,8 @@ static int xmon_core(struct pt_regs *regs, volatile int fromipi)
643643
touch_nmi_watchdog();
644644
} else {
645645
cmd = 1;
646-
#ifdef CONFIG_SMP
647646
if (xmon_batch)
648647
cmd = batch_cmds(regs);
649-
#endif
650648
if (!locked_down && cmd)
651649
cmd = cmds(regs);
652650
if (locked_down || cmd != 0) {

0 commit comments

Comments
 (0)