2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/arch/m68k/kernel
Al Viro 9e4930dbf1 m68k: Simplify the singlestepping handling in signals
Instead of checking the return value of do_signal() we can just do
the work (raise SIGTRAP and clear SR.T1) directly in handle_signal(),
when setting the sigframe up.  Simplifies the assembler glue and is
closer to the way we do it on other targets.

Note that do_delayed_trace does *not* disappear; it's still needed
to deal with single-stepping through syscall, since 68040 doesn't
raise the trace exception at all if the trap exception is pending.
We hit it after returning from sys_...() if TIF_DELAYED_TRACE is
set; all that has changed is that we don't reuse it for "single-step
into the handler" codepath.

As the result, do_signal() doesn't need to return anything anymore.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2011-01-07 14:01:34 +01:00
..
.gitignore m68k: Add vmlinux.lds to .gitignore 2009-01-12 20:56:32 +01:00
asm-offsets.c m68k{nommu}: Remove unused DEFINE's from asm-offsets.c 2010-10-21 10:17:30 +10:00
dma.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
entry.S m68k: Simplify the singlestepping handling in signals 2011-01-07 14:01:34 +01:00
head.S kbuild: move autoconf.h to include/generated 2009-12-12 13:08:15 +01:00
ints.c m68k: Fix off-by-one in m68k_setup_user_interrupt() 2008-11-15 11:36:06 -08:00
m68k_ksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
Makefile m68k: remove the dead PCI code 2008-10-14 10:23:27 -07:00
module.c module: cleanup FIXME comments about trimming exception table entries. 2009-06-12 21:47:05 +09:30
module.lds m68k: runtime patching infrastructure 2007-05-31 07:58:13 -07:00
process.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
ptrace.c ptrace: cleanup arch_ptrace() on m68k 2010-10-27 18:03:11 -07:00
setup.c m68k: Remove dead GG2 config option 2010-10-22 09:43:22 +02:00
signal.c m68k: Simplify the singlestepping handling in signals 2011-01-07 14:01:34 +01:00
sun3-head.S m68k: arch/m68k/kernel/sun3-head.S needs <linux/init.h> 2009-04-28 16:07:18 -07:00
sys_m68k.c m68k: Remove big kernel lock in cache flush code 2010-10-22 09:43:25 +02:00
time.c m68k/m68knommu: Remove dead SMP config option 2010-10-22 09:43:23 +02:00
traps.c m68k: Remove trailing spaces in messages 2010-05-17 21:15:40 +02:00
vmlinux-std.lds m68k: Cleanup linker scripts using new linker script macros. 2009-12-06 11:18:25 +01:00
vmlinux-sun3.lds m68k: Cleanup linker scripts using new linker script macros. 2009-12-06 11:18:25 +01:00
vmlinux.lds.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00