diff options
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
-rw-r--r-- | arch/powerpc/kernel/asm-offsets.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index cdd0d264415f..cc492e48ddfa 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c | |||
@@ -46,9 +46,6 @@ | |||
46 | #include <asm/hvcall.h> | 46 | #include <asm/hvcall.h> |
47 | #include <asm/xics.h> | 47 | #include <asm/xics.h> |
48 | #endif | 48 | #endif |
49 | #ifdef CONFIG_PPC_ISERIES | ||
50 | #include <asm/iseries/alpaca.h> | ||
51 | #endif | ||
52 | #ifdef CONFIG_PPC_POWERNV | 49 | #ifdef CONFIG_PPC_POWERNV |
53 | #include <asm/opal.h> | 50 | #include <asm/opal.h> |
54 | #endif | 51 | #endif |
@@ -384,17 +381,6 @@ int main(void) | |||
384 | DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry)); | 381 | DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry)); |
385 | #endif | 382 | #endif |
386 | 383 | ||
387 | #ifdef CONFIG_PPC_ISERIES | ||
388 | /* the assembler miscalculates the VSID values */ | ||
389 | DEFINE(PAGE_OFFSET_ESID, GET_ESID(PAGE_OFFSET)); | ||
390 | DEFINE(PAGE_OFFSET_VSID, KERNEL_VSID(PAGE_OFFSET)); | ||
391 | DEFINE(VMALLOC_START_ESID, GET_ESID(VMALLOC_START)); | ||
392 | DEFINE(VMALLOC_START_VSID, KERNEL_VSID(VMALLOC_START)); | ||
393 | |||
394 | /* alpaca */ | ||
395 | DEFINE(ALPACA_SIZE, sizeof(struct alpaca)); | ||
396 | #endif | ||
397 | |||
398 | DEFINE(PGD_TABLE_SIZE, PGD_TABLE_SIZE); | 384 | DEFINE(PGD_TABLE_SIZE, PGD_TABLE_SIZE); |
399 | DEFINE(PTE_SIZE, sizeof(pte_t)); | 385 | DEFINE(PTE_SIZE, sizeof(pte_t)); |
400 | 386 | ||