xtensa: keep a3 and excsave1 on entry to exception handlers
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 3 Jul 2013 16:23:28 +0000 (20:23 +0400)
committerChris Zankel <chris@zankel.net>
Fri, 6 Sep 2013 16:47:41 +0000 (09:47 -0700)
commit99d5040ebc3cccc90dfe031f615ac3fbc79905b6
tree04d720df138145f5cb4efd4cf4358c88d44b19d3
parent16c5becf39a2d174f08b46504f522c2fa50ef462
xtensa: keep a3 and excsave1 on entry to exception handlers

Based on the SMP patch by Joe Taylor and subsequent fixes.
Preserve exception table pointer (normally stored in excsave1 SR) as it
cannot be easily restored in SMP environment.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/regs.h
arch/xtensa/kernel/align.S
arch/xtensa/kernel/coprocessor.S
arch/xtensa/kernel/entry.S
arch/xtensa/kernel/vectors.S