]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
xtensa: introduce spill_registers_kernel macro
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 22 Jan 2014 04:04:43 +0000 (08:04 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 25 Jan 2014 19:20:09 +0000 (23:20 +0400)
commite2fd1374c705abe4661df3fb6fadb3879c7c1846
treea29a6a43d3ae01253fe706a7dcd594afee388605
parent45ec8860be2f681b2e3e521a3fb4554ec29fbaac
xtensa: introduce spill_registers_kernel macro

Most in-kernel users want registers spilled on the kernel stack and
don't require PS.EXCM to be set. That means that they don't need fixup
routine and could reuse regular window overflow mechanism for that,
which makes spill routine very simple.

Cc: stable@vger.kernel.org
Suggested-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/traps.h
arch/xtensa/kernel/entry.S