linux/arch/openrisc/kernel
Jonas Bonn 207e715ff1 openrisc: use scratch regs in atomic syscall
The function sys_or1k_atomic was using call-saved registers without
restoring their value before returning.  This is a faux pas: either
we need to restore their values or use scratch regs; the latter is
less code so that's the route this patch takes.

Thanks to David Hennerström for doing most of the heavy-lifting in
tracking this one down.

Reported-by: Davd Hennerström <david.hennerstrom@aacmicrotec.com>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
2012-05-08 11:43:59 +02:00
..
asm-offsets.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
dma.c openrisc: provide dma_map_ops 2012-05-08 11:43:51 +02:00
entry.S openrisc: use scratch regs in atomic syscall 2012-05-08 11:43:59 +02:00
head.S openrisc: enable passing of flattened device tree pointer 2012-02-17 09:55:22 +01:00
idle.c Disintegrate asm/system.h for OpenRISC 2012-03-28 18:30:03 +01:00
init_task.c openrisc: include export.h for EXPORT_SYMBOL 2012-02-17 09:52:32 +01:00
irq.c openrisc: remove unnecessary includes 2012-05-08 11:43:00 +02:00
Makefile OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00
module.c OpenRISC: Module support 2011-07-22 18:46:37 +02:00
or32_ksyms.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
process.c Disintegrate asm/system.h for OpenRISC 2012-03-28 18:30:03 +01:00
prom.c Disintegrate asm/system.h for OpenRISC 2012-03-28 18:30:03 +01:00
ptrace.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
setup.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
signal.c openrisc: sanitize use of orig_gpr11 2012-03-06 10:37:00 +01:00
sys_call_table.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
sys_or32.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
time.c openrisc: Set shortest clock event to 100 ticks 2012-02-17 10:08:19 +01:00
traps.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
vmlinux.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
vmlinux.lds.S OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00