···63636464static inline void __hard_irq_enable(void)6565{6666- if (IS_ENABLED(CONFIG_BOOKE_OR_40x))6666+ if (IS_ENABLED(CONFIG_BOOKE))6767 wrtee(MSR_EE);6868 else if (IS_ENABLED(CONFIG_PPC_8xx))6969 wrtspr(SPRN_EIE);···75757676static inline void __hard_irq_disable(void)7777{7878- if (IS_ENABLED(CONFIG_BOOKE_OR_40x))7878+ if (IS_ENABLED(CONFIG_BOOKE))7979 wrtee(0);8080 else if (IS_ENABLED(CONFIG_PPC_8xx))8181 wrtspr(SPRN_EID);···87878888static inline void __hard_EE_RI_disable(void)8989{9090- if (IS_ENABLED(CONFIG_BOOKE_OR_40x))9090+ if (IS_ENABLED(CONFIG_BOOKE))9191 wrtee(0);9292 else if (IS_ENABLED(CONFIG_PPC_8xx))9393 wrtspr(SPRN_NRI);···9999100100static inline void __hard_RI_enable(void)101101{102102- if (IS_ENABLED(CONFIG_BOOKE_OR_40x))102102+ if (IS_ENABLED(CONFIG_BOOKE))103103 return;104104105105 if (IS_ENABLED(CONFIG_PPC_8xx))
+1-1
arch/powerpc/include/asm/irq.h
···33333434struct pt_regs;35353636-#ifdef CONFIG_BOOKE_OR_40x3636+#ifdef CONFIG_BOOKE3737/*3838 * Per-cpu stacks for handling critical, debug and machine check3939 * level interrupts.
···159159 unsigned long sr0;160160#endif161161#endif /* CONFIG_PPC32 */162162-#if defined(CONFIG_BOOKE_OR_40x) && defined(CONFIG_PPC_KUAP)162162+#if defined(CONFIG_BOOKE) && defined(CONFIG_PPC_KUAP)163163 unsigned long pid; /* value written in PID reg. at interrupt exit */164164#endif165165 /* Debug Registers */
···1818#include <asm/feature-fixups.h>19192020/* Pickup Book E specific registers. */2121-#ifdef CONFIG_BOOKE_OR_40x2121+#ifdef CONFIG_BOOKE2222#include <asm/reg_booke.h>2323#endif2424
···2121 ori r4, r4,_TLF_NAPPING /* so when we take an exception */2222 PPC_STL r4, TI_LOCAL_FLAGS(r2) /* it will return to our caller */23232424-#ifdef CONFIG_BOOKE_OR_40x2424+#ifdef CONFIG_BOOKE2525 wrteei 12626#else2727 mfmsr r4