]> git.hungrycats.org Git - linux/commit
xtensa: introduce spill_registers_kernel macro
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 22 Jan 2014 04:04:43 +0000 (08:04 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 06:06:28 +0000 (22:06 -0800)
commitee9d6de73c5478edda84b2e373b4d336afe01927
treeda661ff589cb631f9d2e499cd3022ead6dca2dbd
parentb87babbd6839a0112ad99a7384edc7e306bfbbe6
xtensa: introduce spill_registers_kernel macro

commit e2fd1374c705abe4661df3fb6fadb3879c7c1846 upstream.

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.

Suggested-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/include/asm/traps.h
arch/xtensa/kernel/entry.S