powerpc: Add TIF_NOTIFY_RESUME support for tracehook
authorRoland McGrath <roland@redhat.com>
Sun, 27 Jul 2008 06:52:52 +0000 (16:52 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:50 +0000 (16:30 +1000)
commit7d6d637dac2050f30a1b57b0a3dc5de4a10616ba
tree5108cacaf5e204d58bc07afb1d67c73144f1bf55
parentf1ba12856b7a7d43e495e216bc91e6bbf7aac383
powerpc: Add TIF_NOTIFY_RESUME support for tracehook

This adds TIF_NOTIFY_RESUME support for powerpc.  When set,
we call tracehook_notify_resume() on the way to user mode.
This overloads do_signal() to do the work, but changes its
arguments to it has the TIF_* bits handy in a register and
drops the useless first argument that was always zero.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/signal.c
include/asm-powerpc/signal.h
include/asm-powerpc/thread_info.h