]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
m68k: add TIF_NOTIFY_RESUME and handle it.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 24 Apr 2012 05:46:23 +0000 (01:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:59:47 +0000 (23:59 -0400)
commita54f1655be4cb103a6729adcc9ca914c5fdf1ca0
treea54cfff27d2fb3b9d04daa3490a7e601df586c18
parent899dfaa7e7dd825f8366c2a6b38067db43644dc6
m68k: add TIF_NOTIFY_RESUME and handle it.

TIF_NOTIFY_RESUME added (as bit 5).  That way nommu glue needs no changes at
all; mmu one needs just to replace jmi do_signal_return to jne do_signal_return
There we have flags shifted up, until bit 6 (SIGPENDING) is in MSBit; instead
of checking that MSBit is set (jmi) we check that MSBit or something below it
is set (jne); bits 0..4 are never set, so that's precisely "bit 6 or bit 5 is
set".

Usual handling of NOTIFY_RESUME/SIGPENDING is done in do_notify_resume(); glue
calls it instead of do_signal().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/m68k/include/asm/thread_info.h
arch/m68k/kernel/entry_mm.S
arch/m68k/kernel/signal.c
arch/m68k/platform/68328/entry.S
arch/m68k/platform/68360/entry.S
arch/m68k/platform/coldfire/entry.S