diff options
Diffstat (limited to 'arch/powerpc/kernel/signal.c')
| -rw-r--r-- | arch/powerpc/kernel/signal.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index 3d7539b90010..61db86ecd318 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c @@ -153,6 +153,9 @@ void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags)  	if (thread_info_flags & _TIF_UPROBE)  		uprobe_notify_resume(regs); +	if (thread_info_flags & _TIF_PATCH_PENDING) +		klp_update_patch_state(current); +  	if (thread_info_flags & _TIF_SIGPENDING) {  		BUG_ON(regs != current->thread.regs);  		do_signal(current); @@ -163,9 +166,6 @@ void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags)  		tracehook_notify_resume(regs);  	} -	if (thread_info_flags & _TIF_PATCH_PENDING) -		klp_update_patch_state(current); -  	user_enter();  }  |