summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorNicholas Piggin2017-01-27 05:24:33 +0100
committerMichael Ellerman2017-02-07 06:39:44 +0100
commit2337d207288f163e10bd8d4d7eeb0c1c75046a0c (patch)
tree561f9980fbe5b7f5b40f0ea7bf7b5aac12172cbf /arch/powerpc/kernel
parentKVM: PPC: Book3S HV: Enable radix guest support (diff)
downloadkernel-qcow2-linux-2337d207288f163e10bd8d4d7eeb0c1c75046a0c.tar.gz
kernel-qcow2-linux-2337d207288f163e10bd8d4d7eeb0c1c75046a0c.tar.xz
kernel-qcow2-linux-2337d207288f163e10bd8d4d7eeb0c1c75046a0c.zip
powerpc/64: CONFIG_RELOCATABLE support for hmi interrupts
The branch from hmi_exception_early to hmi_exception_realmode must use a "relocatable-style" branch, because it is branching from unrelocated exception code to beyond __end_interrupts. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/exceptions-64s.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
index 34a04a5fa468..76dd7738c122 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -982,7 +982,7 @@ TRAMP_REAL_BEGIN(hmi_exception_early)
EXCEPTION_PROLOG_COMMON_2(PACA_EXGEN)
EXCEPTION_PROLOG_COMMON_3(0xe60)
addi r3,r1,STACK_FRAME_OVERHEAD
- bl hmi_exception_realmode
+ BRANCH_LINK_TO_FAR(r4, hmi_exception_realmode)
/* Windup the stack. */
/* Move original HSRR0 and HSRR1 into the respective regs */
ld r9,_MSR(r1)