diff options
author | Anton Blanchard <anton@samba.org> | 2014-06-11 19:08:37 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-11 19:41:33 -0400 |
commit | ad718622ab6d500c870772b1b8dda46fa2195e6d (patch) | |
tree | 7f8e22b96b79fe33e3552e2040ef624cbb89ee96 /arch | |
parent | 74845bc2fa9c0e6b218821cd4e1eb7a552d3e503 (diff) |
powerpc/book3s: Fix some ABIv2 issues in machine check code
Commit 2749a2f26a7c (powerpc/book3s: Fix machine check handling for
unhandled errors) introduced a few ABIv2 issues.
We can maintain ABIv1 and ABIv2 compatibility by branching to the
function rather than the dot symbol.
Fixes: 2749a2f26a7c ("powerpc/book3s: Fix machine check handling for unhandled errors")
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/exceptions-64s.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 8a0292dbb5fc..a7d36b19221d 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S | |||
@@ -1502,13 +1502,13 @@ machine_check_handle_early: | |||
1502 | unrecover_mce: | 1502 | unrecover_mce: |
1503 | /* Invoke machine_check_exception to print MCE event and panic. */ | 1503 | /* Invoke machine_check_exception to print MCE event and panic. */ |
1504 | addi r3,r1,STACK_FRAME_OVERHEAD | 1504 | addi r3,r1,STACK_FRAME_OVERHEAD |
1505 | bl .machine_check_exception | 1505 | bl machine_check_exception |
1506 | /* | 1506 | /* |
1507 | * We will not reach here. Even if we did, there is no way out. Call | 1507 | * We will not reach here. Even if we did, there is no way out. Call |
1508 | * unrecoverable_exception and die. | 1508 | * unrecoverable_exception and die. |
1509 | */ | 1509 | */ |
1510 | 1: addi r3,r1,STACK_FRAME_OVERHEAD | 1510 | 1: addi r3,r1,STACK_FRAME_OVERHEAD |
1511 | bl .unrecoverable_exception | 1511 | bl unrecoverable_exception |
1512 | b 1b | 1512 | b 1b |
1513 | /* | 1513 | /* |
1514 | * r13 points to the PACA, r9 contains the saved CR, | 1514 | * r13 points to the PACA, r9 contains the saved CR, |