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 05:30:11 +0000 (21:30 -0800)
commitc9f87229e114c9aeb7f68b92bd0353c5159a2b3b
treec8d5ac16e7ff9862f24734e3052da06656363e73
parentf5556a68da14573d0f4944cdc134034233e96553
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