linux/arch/xtensa
Chris Zankel c0e50d4112 xtensa: fix fast_syscall_spill_registers
The original implementation could clobber registers under certain conditions.

The Xtensa processor architecture uses windowed registers and the original
implementation was using a4 as a temporary register, which under certain
conditions could be register a0 of the oldest window frame, and didn't always
restore the content correctly.

By moving the _spill_registers routine inside the fast system call, it frees
up one more register (the return address is not required anymore) for the
spill routine.

Signed-off-by: Chris Zankel <chris@zankel.net>
2014-01-29 13:47:26 -08:00
..
boot xtensa: standardize devicetree cpu compatible strings 2014-01-15 00:21:25 +04:00
configs Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
include xtensa: introduce spill_registers_kernel macro 2014-01-25 23:20:09 +04:00
kernel xtensa: fix fast_syscall_spill_registers 2014-01-29 13:47:26 -08:00
lib xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
mm xtensa: fix warning '"CONFIG_OF" is not defined' 2014-01-19 19:29:13 +04:00
oprofile xtensa: fix oprofile building as module 2013-05-09 01:07:09 -07:00
platforms xtensa: xtfpga: fix definitions of platform devices 2014-01-15 00:21:25 +04:00
variants xtensa: remove NO_IRQ definitions 2014-01-14 10:19:52 -08:00
Kconfig xtensa: enable HAVE_PERF_EVENTS 2014-01-15 00:27:03 +04:00
Kconfig.debug xtensa: check TLB sanity on return to userspace 2013-07-08 01:18:56 -07:00
Makefile xtensa: don't use echo -e needlessly 2013-09-06 09:48:29 -07:00