diff options
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
-rw-r--r-- | arch/powerpc/kernel/asm-offsets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index 92768d3006f7..09febc582584 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c | |||
@@ -122,6 +122,8 @@ int main(void) | |||
122 | DEFINE(PACASTABRR, offsetof(struct paca_struct, stab_rr)); | 122 | DEFINE(PACASTABRR, offsetof(struct paca_struct, stab_rr)); |
123 | DEFINE(PACAR1, offsetof(struct paca_struct, saved_r1)); | 123 | DEFINE(PACAR1, offsetof(struct paca_struct, saved_r1)); |
124 | DEFINE(PACATOC, offsetof(struct paca_struct, kernel_toc)); | 124 | DEFINE(PACATOC, offsetof(struct paca_struct, kernel_toc)); |
125 | DEFINE(PACAKBASE, offsetof(struct paca_struct, kernelbase)); | ||
126 | DEFINE(PACAKMSR, offsetof(struct paca_struct, kernel_msr)); | ||
125 | DEFINE(PACASOFTIRQEN, offsetof(struct paca_struct, soft_enabled)); | 127 | DEFINE(PACASOFTIRQEN, offsetof(struct paca_struct, soft_enabled)); |
126 | DEFINE(PACAHARDIRQEN, offsetof(struct paca_struct, hard_enabled)); | 128 | DEFINE(PACAHARDIRQEN, offsetof(struct paca_struct, hard_enabled)); |
127 | DEFINE(PACASLBCACHE, offsetof(struct paca_struct, slb_cache)); | 129 | DEFINE(PACASLBCACHE, offsetof(struct paca_struct, slb_cache)); |
@@ -350,6 +352,7 @@ int main(void) | |||
350 | #endif | 352 | #endif |
351 | 353 | ||
352 | DEFINE(PGD_TABLE_SIZE, PGD_TABLE_SIZE); | 354 | DEFINE(PGD_TABLE_SIZE, PGD_TABLE_SIZE); |
355 | DEFINE(PTE_SIZE, sizeof(pte_t)); | ||
353 | 356 | ||
354 | #ifdef CONFIG_KVM | 357 | #ifdef CONFIG_KVM |
355 | DEFINE(TLBE_BYTES, sizeof(struct tlbe)); | 358 | DEFINE(TLBE_BYTES, sizeof(struct tlbe)); |