Commit 4d72de23 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: restore r13 in an unrecoverable exception

From: Anton Blanchard <anton@samba.org>

We have to restore r13 when entering unrecoverable_exception.
parent 6e9d79e2
...@@ -469,6 +469,7 @@ do_work: ...@@ -469,6 +469,7 @@ do_work:
b .ret_from_except b .ret_from_except
unrecov_restore: unrecov_restore:
mfspr r13,SPRG3
addi r3,r1,STACK_FRAME_OVERHEAD addi r3,r1,STACK_FRAME_OVERHEAD
bl .unrecoverable_exception bl .unrecoverable_exception
b unrecov_restore b unrecov_restore
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment