diff options
Diffstat (limited to 'arch/powerpc/kernel')
| -rw-r--r-- | arch/powerpc/kernel/machine_kexec.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/kernel/misc_64.S | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c index 88a7fb458dfd..75d4f7340da8 100644 --- a/arch/powerpc/kernel/machine_kexec.c +++ b/arch/powerpc/kernel/machine_kexec.c | |||
| @@ -148,7 +148,7 @@ void __init reserve_crashkernel(void) | |||
| 148 | * a small SLB (128MB) since the crash kernel needs to place | 148 | * a small SLB (128MB) since the crash kernel needs to place |
| 149 | * itself and some stacks to be in the first segment. | 149 | * itself and some stacks to be in the first segment. |
| 150 | */ | 150 | */ |
| 151 | crashk_res.start = min(0x80000000ULL, (ppc64_rma_size / 2)); | 151 | crashk_res.start = min(0x8000000ULL, (ppc64_rma_size / 2)); |
| 152 | #else | 152 | #else |
| 153 | crashk_res.start = KDUMP_KERNELBASE; | 153 | crashk_res.start = KDUMP_KERNELBASE; |
| 154 | #endif | 154 | #endif |
diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S index e59caf874d05..64bf8db12b15 100644 --- a/arch/powerpc/kernel/misc_64.S +++ b/arch/powerpc/kernel/misc_64.S | |||
| @@ -246,8 +246,8 @@ _GLOBAL(__bswapdi2) | |||
| 246 | or r3,r7,r9 | 246 | or r3,r7,r9 |
| 247 | blr | 247 | blr |
| 248 | 248 | ||
| 249 | #if defined(CONFIG_PPC_PMAC) || defined(CONFIG_PPC_MAPLE) | ||
| 250 | 249 | ||
| 250 | #ifdef CONFIG_PPC_EARLY_DEBUG_BOOTX | ||
| 251 | _GLOBAL(rmci_on) | 251 | _GLOBAL(rmci_on) |
| 252 | sync | 252 | sync |
| 253 | isync | 253 | isync |
| @@ -277,6 +277,9 @@ _GLOBAL(rmci_off) | |||
| 277 | isync | 277 | isync |
| 278 | sync | 278 | sync |
| 279 | blr | 279 | blr |
| 280 | #endif /* CONFIG_PPC_EARLY_DEBUG_BOOTX */ | ||
| 281 | |||
| 282 | #if defined(CONFIG_PPC_PMAC) || defined(CONFIG_PPC_MAPLE) | ||
| 280 | 283 | ||
| 281 | /* | 284 | /* |
| 282 | * Do an IO access in real mode | 285 | * Do an IO access in real mode |
