]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: get rid of TIF_IRET hackery
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 2 Aug 2012 18:12:06 +0000 (22:12 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 8 Sep 2012 06:49:20 +0000 (02:49 -0400)
commit450ca1f882abea0cef19d8d293740b8a1dbc4f59
treed18b14db83c378e62b90ac6ddd8c328ee5219c77
parent386e1c739c80490c756820e24414ed25621c8f6f
x86: get rid of TIF_IRET hackery

TIF_NOTIFY_RESUME will work in precisely the same way; all that
is achieved by TIF_IRET is appearing that there's some work to be
done, so we end up on the iret exit path.  Just use NOTIFY_RESUME.
And for execve() do that in 32bit start_thread(), not sys_execve()
itself.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/include/asm/thread_info.h
arch/x86/kernel/process.c
arch/x86/kernel/process_32.c
arch/x86/kernel/signal.c
arch/x86/kernel/vm86_32.c