android_kernel_xiaomi_sm8350/arch/m68knommu/kernel
Wilson Callan 2d7f16d6d1 m68knommu: fix signal handling return path
The return from software signal handling pushes code on the stack
that system calls to the kernels cleanup code. This is borrowed
directly from the m68k linux signal handler.

The rt signal case is not quite right for the restricted instruction
set of the ColdFire parts. And neither the normal signal case or rt
signal case properly flushes/pushes the appropriate cache lines.

Rework the return path to just call back through some code fragments
in the kernel proper (with no MMU in the way we can do this). No
cache problems, and less code overall.

Original patch submitted by Wilson Callan <wcallan@savantav.com>

Greg fixed the rt signal return path to use the proper system call

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-01 08:08:35 -07:00
..
asm-offsets.c m68k/m68kmmu: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
comempci.c
dma.c
entry.S m68knommu: fix signal handling return path 2008-05-01 08:08:35 -07:00
init_task.c
irq.c
m68k_ksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
Makefile Generic semaphore implementation 2008-04-17 10:42:34 -04:00
module.c
process.c
ptrace.c
setup.c procfs: constify function pointer tables 2008-02-08 09:22:38 -08:00
signal.c m68knommu: fix signal handling return path 2008-05-01 08:08:35 -07:00
sys_m68k.c
syscalltable.S m68k{,nommu}: Wire up new timerfd syscalls 2008-03-04 08:04:11 -08:00
time.c xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
traps.c
vmlinux.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00