diff options
author | Chris Zankel <chris@zankel.net> | 2014-01-28 22:09:51 -0800 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2014-01-28 22:09:51 -0800 |
commit | 6b5a1f74e50170e64104135490dc32b657483594 (patch) | |
tree | 6bb08372aa016f77f27ec12d8ce4bbcc16291af0 /arch/powerpc/boot/dts/mpc8308_p1m.dts | |
parent | 3251f1e27a5a17f0efd436cfd1e7b9896cfab0a0 (diff) |
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>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8308_p1m.dts')
0 files changed, 0 insertions, 0 deletions