android_kernel_xiaomi_sm8350/arch/m68knommu
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
..
kernel m68knommu: fix signal handling return path 2008-05-01 08:08:35 -07:00
lib Generic semaphore implementation 2008-04-17 10:42:34 -04:00
mm m68knommu: mark mem init functions as __init 2007-10-23 20:45:44 -07:00
platform m68knommu: remove duplicate hw_tick() code 2008-03-04 08:04:11 -08:00
defconfig m68knommu: update defconfig 2008-03-04 08:04:11 -08:00
Kconfig ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
Kconfig.debug m68knommu: removing config variable DUMPTOFLASH 2008-02-05 09:44:21 -08:00
Makefile m68knommu: modify Makefiles to support common coldfire directory 2008-02-01 20:58:10 +11:00