]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/xtensa/kernel/entry.S
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, 19 Dec 2012 05:10:22 +0000 (21:10 -0800)
commit733536b865441d9bad02c4711a4372d48ce21e54
treee54c74b6f27dab1175701128e1c0ac2a18cccdc3
parent2f6ea6a767e9e26d23e4de4b03fdebe41f3b88f8
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