android_kernel_asus_sm8350/arch/openrisc/kernel
Jonas Bonn 10f67dbf6a openrisc: Rework signal handling
The mainline signal handling code for OpenRISC has been buggy since day
one with respect to syscall restart.  This patch significantly reworks
the signal handling code:

i)   Move the "work pending" loop to C code (borrowed from ARM arch)

ii)  Allow a tracer to muck about with the IP and skip syscall restart
     in that case (again, borrowed from ARM)

iii) Make signal handling WRT syscall restart actually work

v)   Make the signal handling code look more like that of other
     architectures so that it's easier for others to follow

Reported-by: Anders Nystrom <anders@southpole.se>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
2014-01-09 10:57:21 +01:00
..
asm-offsets.c openrisc: use kbuild.h instead of defining macros in asm-offset.c 2012-10-25 15:54:33 +02:00
dma.c openrisc: provide dma_map_ops 2012-05-08 11:43:51 +02:00
entry.S openrisc: Rework signal handling 2014-01-09 10:57:21 +01:00
head.S openrisc: add missing header inclusion 2013-02-26 07:44:08 +01:00
irq.c openrisc: mask interrupts in irq_mask_ack function 2012-10-11 11:27:26 +02:00
Makefile openrisc: Use generic idle loop 2013-04-08 17:39:27 +02:00
module.c openrisc: Refactor 16-bit constant relocation 2013-11-05 16:27:55 +01:00
or32_ksyms.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
process.c dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
prom.c openrisc: remove unnecessary prom.c includes 2013-10-09 11:39:01 -05:00
ptrace.c audit: define AUDIT_ARCH_OPENRISC 2012-09-21 08:09:54 +02:00
setup.c OpenRISC updates for 3.13 2013-11-15 14:26:38 -08:00
signal.c openrisc: Rework signal handling 2014-01-09 10:57:21 +01:00
sys_call_table.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 dump_stack: consolidate dump_stack() implementations and unify their behaviors 2013-04-30 17:04:02 -07:00
vmlinux.h openrisc: Remove unused declaration of __initramfs_start 2013-11-15 10:37:52 +01:00
vmlinux.lds.S OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00