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>
Showing
- arch/xtensa/include/asm/processor.h 15 additions, 0 deletionsarch/xtensa/include/asm/processor.h
- arch/xtensa/kernel/process.c 4 additions, 4 deletionsarch/xtensa/kernel/process.c
- arch/xtensa/kernel/signal.c 5 additions, 5 deletionsarch/xtensa/kernel/signal.c
- arch/xtensa/kernel/stacktrace.c 8 additions, 27 deletionsarch/xtensa/kernel/stacktrace.c
Please register or sign in to comment