ARM: 6867/1: Introduce THREAD_NOTIFY_COPY for copy_thread() hooks
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Apr 2011 15:16:29 +0000 (16:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 10 Apr 2011 20:13:36 +0000 (21:13 +0100)
commit2e82669acf03e5bf2080f5d3ef005168e67d8a51
tree996ff5ce7127725a0b8ddeeb74731d6bb7288cdc
parent974508262e94b567f9d5b7ba1eef9fc493561f63
ARM: 6867/1: Introduce THREAD_NOTIFY_COPY for copy_thread() hooks

This patch adds THREAD_NOTIFY_COPY for calling registered handlers
during the copy_thread() function call. It also changes the VFP handler
to use a switch statement rather than if..else and ignore this event.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/thread_notify.h
arch/arm/kernel/process.c
arch/arm/vfp/vfpmodule.c