diff options
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
| -rw-r--r-- | arch/powerpc/kernel/asm-offsets.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index 8cfb20e38cfe..9aace433491a 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c | |||
| @@ -185,7 +185,7 @@ int main(void) | |||
| 185 | #ifdef CONFIG_PPC_MM_SLICES | 185 | #ifdef CONFIG_PPC_MM_SLICES |
| 186 | OFFSET(PACALOWSLICESPSIZE, paca_struct, mm_ctx_low_slices_psize); | 186 | OFFSET(PACALOWSLICESPSIZE, paca_struct, mm_ctx_low_slices_psize); |
| 187 | OFFSET(PACAHIGHSLICEPSIZE, paca_struct, mm_ctx_high_slices_psize); | 187 | OFFSET(PACAHIGHSLICEPSIZE, paca_struct, mm_ctx_high_slices_psize); |
| 188 | DEFINE(PACA_ADDR_LIMIT, offsetof(struct paca_struct, addr_limit)); | 188 | OFFSET(PACA_SLB_ADDR_LIMIT, paca_struct, mm_ctx_slb_addr_limit); |
| 189 | DEFINE(MMUPSIZEDEFSIZE, sizeof(struct mmu_psize_def)); | 189 | DEFINE(MMUPSIZEDEFSIZE, sizeof(struct mmu_psize_def)); |
| 190 | #endif /* CONFIG_PPC_MM_SLICES */ | 190 | #endif /* CONFIG_PPC_MM_SLICES */ |
| 191 | #endif | 191 | #endif |
| @@ -208,7 +208,7 @@ int main(void) | |||
| 208 | OFFSET(TCD_ESEL_FIRST, tlb_core_data, esel_first); | 208 | OFFSET(TCD_ESEL_FIRST, tlb_core_data, esel_first); |
| 209 | #endif /* CONFIG_PPC_BOOK3E */ | 209 | #endif /* CONFIG_PPC_BOOK3E */ |
| 210 | 210 | ||
| 211 | #ifdef CONFIG_PPC_STD_MMU_64 | 211 | #ifdef CONFIG_PPC_BOOK3S_64 |
| 212 | OFFSET(PACASLBCACHE, paca_struct, slb_cache); | 212 | OFFSET(PACASLBCACHE, paca_struct, slb_cache); |
| 213 | OFFSET(PACASLBCACHEPTR, paca_struct, slb_cache_ptr); | 213 | OFFSET(PACASLBCACHEPTR, paca_struct, slb_cache_ptr); |
| 214 | OFFSET(PACAVMALLOCSLLP, paca_struct, vmalloc_sllp); | 214 | OFFSET(PACAVMALLOCSLLP, paca_struct, vmalloc_sllp); |
| @@ -230,7 +230,7 @@ int main(void) | |||
| 230 | OFFSET(LPPACA_DTLIDX, lppaca, dtl_idx); | 230 | OFFSET(LPPACA_DTLIDX, lppaca, dtl_idx); |
| 231 | OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); | 231 | OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); |
| 232 | OFFSET(PACA_DTL_RIDX, paca_struct, dtl_ridx); | 232 | OFFSET(PACA_DTL_RIDX, paca_struct, dtl_ridx); |
| 233 | #endif /* CONFIG_PPC_STD_MMU_64 */ | 233 | #endif /* CONFIG_PPC_BOOK3S_64 */ |
| 234 | OFFSET(PACAEMERGSP, paca_struct, emergency_sp); | 234 | OFFSET(PACAEMERGSP, paca_struct, emergency_sp); |
| 235 | #ifdef CONFIG_PPC_BOOK3S_64 | 235 | #ifdef CONFIG_PPC_BOOK3S_64 |
| 236 | OFFSET(PACAMCEMERGSP, paca_struct, mc_emergency_sp); | 236 | OFFSET(PACAMCEMERGSP, paca_struct, mc_emergency_sp); |
