|
|
@@ -21,7 +21,11 @@
|
|
|
#include <asm/lppaca.h>
|
|
|
#include <asm/mmu.h>
|
|
|
#include <asm/page.h>
|
|
|
+#ifdef CONFIG_PPC_BOOK3E
|
|
|
#include <asm/exception-64e.h>
|
|
|
+#else
|
|
|
+#include <asm/exception-64s.h>
|
|
|
+#endif
|
|
|
#ifdef CONFIG_KVM_BOOK3S_64_HANDLER
|
|
|
#include <asm/kvm_book3s_asm.h>
|
|
|
#endif
|
|
|
@@ -98,8 +102,8 @@ struct paca_struct {
|
|
|
* Now, starting in cacheline 2, the exception save areas
|
|
|
*/
|
|
|
/* used for most interrupts/exceptions */
|
|
|
- u64 exgen[13] __attribute__((aligned(0x80)));
|
|
|
- u64 exslb[13]; /* used for SLB/segment table misses
|
|
|
+ u64 exgen[EX_SIZE] __attribute__((aligned(0x80)));
|
|
|
+ u64 exslb[EX_SIZE]; /* used for SLB/segment table misses
|
|
|
* on the linear mapping */
|
|
|
/* SLB related definitions */
|
|
|
u16 vmalloc_sllp;
|
|
|
@@ -183,8 +187,8 @@ struct paca_struct {
|
|
|
|
|
|
#ifdef CONFIG_PPC_STD_MMU_64
|
|
|
/* Non-maskable exceptions that are not performance critical */
|
|
|
- u64 exnmi[13]; /* used for system reset (nmi) */
|
|
|
- u64 exmc[13]; /* used for machine checks */
|
|
|
+ u64 exnmi[EX_SIZE]; /* used for system reset (nmi) */
|
|
|
+ u64 exmc[EX_SIZE]; /* used for machine checks */
|
|
|
#endif
|
|
|
#ifdef CONFIG_PPC_BOOK3S_64
|
|
|
/* Exclusive stacks for system reset and machine check exception. */
|