]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xtensa: save and restore scompare1 SR on kernel entry
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 15 Nov 2012 02:25:48 +0000 (06:25 +0400)
committerChris Zankel <chris@zankel.net>
Wed, 28 Nov 2012 20:05:18 +0000 (12:05 -0800)
commit9172527453956166ddf4ab459816a712c9c2b53a
tree00f9ddb7d6733aa1ef32cc9df91407d8f17f1d44
parente8aafab580c63bdaefa33d0c972643546e50a5c7
xtensa: save and restore scompare1 SR on kernel entry

Although scompare1 may be saved/restored by xchal_ncp_{load,store}
macros, explicit save/restore of registers manipulated by the kernel
itself is considered more correct.

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