xtensa: clean up access to spilled registers locations
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 26 Jan 2015 22:15:10 +0000 (01:15 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 1 May 2017 17:34:43 +0000 (10:34 -0700)
commit062b1c19b879e7831cbceb599ab1d758f87eda40
tree33d6824f10f7d50cf3147ef96f1ab37b70022969
parentf984409a00e7d9aa40af64d7c9619e5de3d980bf
xtensa: clean up access to spilled registers locations

Define macros SPILL_SLOT* that return a reference to the stack location
of the spill slot for specific register and use them instead of opencoded
address calculations.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/processor.h
arch/xtensa/kernel/process.c
arch/xtensa/kernel/signal.c
arch/xtensa/kernel/stacktrace.c