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>
This commit is contained in:
committed by
Russell King
parent
974508262e
commit
2e82669acf
@@ -43,6 +43,7 @@ static inline void thread_notify(unsigned long rc, struct thread_info *thread)
|
||||
#define THREAD_NOTIFY_FLUSH 0
|
||||
#define THREAD_NOTIFY_EXIT 1
|
||||
#define THREAD_NOTIFY_SWITCH 2
|
||||
#define THREAD_NOTIFY_COPY 3
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user