diff options
| -rw-r--r-- | arch/powerpc/include/asm/mmu-hash64.h | 2 | ||||
| -rw-r--r-- | arch/powerpc/kernel/exceptions-64s.S | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h index acac35d5b382..ae7b3efec8e5 100644 --- a/arch/powerpc/include/asm/mmu-hash64.h +++ b/arch/powerpc/include/asm/mmu-hash64.h | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | #define STE_VSID_SHIFT 12 | 27 | #define STE_VSID_SHIFT 12 |
| 28 | 28 | ||
| 29 | /* Location of cpu0's segment table */ | 29 | /* Location of cpu0's segment table */ |
| 30 | #define STAB0_PAGE 0x6 | 30 | #define STAB0_PAGE 0x8 |
| 31 | #define STAB0_OFFSET (STAB0_PAGE << 12) | 31 | #define STAB0_OFFSET (STAB0_PAGE << 12) |
| 32 | #define STAB0_PHYS_ADDR (STAB0_OFFSET + PHYSICAL_START) | 32 | #define STAB0_PHYS_ADDR (STAB0_OFFSET + PHYSICAL_START) |
| 33 | 33 | ||
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 8a817995b4cd..c532cb2c927a 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S | |||
| @@ -977,20 +977,6 @@ _GLOBAL(do_stab_bolted) | |||
| 977 | rfid | 977 | rfid |
| 978 | b . /* prevent speculative execution */ | 978 | b . /* prevent speculative execution */ |
| 979 | 979 | ||
| 980 | /* | ||
| 981 | * Space for CPU0's segment table. | ||
| 982 | * | ||
| 983 | * On iSeries, the hypervisor must fill in at least one entry before | ||
| 984 | * we get control (with relocate on). The address is given to the hv | ||
| 985 | * as a page number (see xLparMap below), so this must be at a | ||
| 986 | * fixed address (the linker can't compute (u64)&initial_stab >> | ||
| 987 | * PAGE_SHIFT). | ||
| 988 | */ | ||
| 989 | . = STAB0_OFFSET /* 0x6000 */ | ||
| 990 | .globl initial_stab | ||
| 991 | initial_stab: | ||
| 992 | .space 4096 | ||
| 993 | |||
| 994 | #ifdef CONFIG_PPC_PSERIES | 980 | #ifdef CONFIG_PPC_PSERIES |
| 995 | /* | 981 | /* |
| 996 | * Data area reserved for FWNMI option. | 982 | * Data area reserved for FWNMI option. |
| @@ -1027,3 +1013,17 @@ xLparMap: | |||
| 1027 | #ifdef CONFIG_PPC_PSERIES | 1013 | #ifdef CONFIG_PPC_PSERIES |
| 1028 | . = 0x8000 | 1014 | . = 0x8000 |
| 1029 | #endif /* CONFIG_PPC_PSERIES */ | 1015 | #endif /* CONFIG_PPC_PSERIES */ |
| 1016 | |||
| 1017 | /* | ||
| 1018 | * Space for CPU0's segment table. | ||
| 1019 | * | ||
| 1020 | * On iSeries, the hypervisor must fill in at least one entry before | ||
| 1021 | * we get control (with relocate on). The address is given to the hv | ||
| 1022 | * as a page number (see xLparMap above), so this must be at a | ||
| 1023 | * fixed address (the linker can't compute (u64)&initial_stab >> | ||
| 1024 | * PAGE_SHIFT). | ||
| 1025 | */ | ||
| 1026 | . = STAB0_OFFSET /* 0x8000 */ | ||
| 1027 | .globl initial_stab | ||
| 1028 | initial_stab: | ||
| 1029 | .space 4096 | ||
