linux/arch/xtensa
Max Filippov 77d6273e79 xtensa: fix kernel register spilling
call12 can't be safely used as the first call in the inline function,
because the compiler does not extend the stack frame of the bounding
function accordingly, which may result in corruption of local variables.

If a call needs to be done, do call8 first followed by call12.

For pure assembly code in _switch_to increase stack frame size of the
bounding function.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-08-17 07:33:35 +03:00
..
boot xtensa: xtfpga: add audio card to xtfpga DTS 2015-02-07 11:21:39 +03:00
configs xtensa: xtfpga: provide defconfig with audio subsystem 2015-02-07 12:52:12 +03:00
include xtensa: fix kernel register spilling 2015-08-17 07:33:35 +03:00
kernel xtensa: fix kernel register spilling 2015-08-17 07:33:35 +03:00
lib xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
mm xtensa: count software page fault perf events 2015-08-17 07:33:26 +03:00
oprofile xtensa: move oprofile stack tracing to stacktrace.c 2015-08-17 07:32:49 +03:00
platforms xtensa: ISS: add missing va_end into split_if_spec 2015-07-13 15:42:00 +03:00
variants xtensa: remove s6000 variant and s6105 platform 2014-10-21 13:29:01 +04:00
Kconfig xtensa: implement counting and sampling perf events 2015-08-17 07:33:30 +03:00
Kconfig.debug xtensa: disable link optimization 2014-12-15 23:47:24 -08:00
Makefile xtensa: remove s6000 variant and s6105 platform 2014-10-21 13:29:01 +04:00