diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-06-25 23:03:29 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-08-17 07:32:48 +0300 |
commit | b6569439f1cec0ce15f647e2ba814431b5930b82 (patch) | |
tree | b821980f450559146b93175f5ff381996d27c4f0 /arch/xtensa/oprofile | |
parent | de7c1c7862c4072bc93155da2cd6921137cb87ae (diff) |
xtensa: keep exception/interrupt stack continuous
Restore original a0 in the kernel exception stack frame. This way it
looks like the frame that got interrupt/exception did alloca (copy a0 and
a1 spilled under old stack to the new location as well) to save registers
and then did a call to handler.
The point where interrupt/exception was taken is not in the stack chain,
only in pt_regs (call4 from that address can be simulated to keep it in
the stack trace).
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/oprofile')
0 files changed, 0 insertions, 0 deletions