From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Nesterov Subject: [PATCH v6 3/6] hexagon: do_notify_resume() needs tracehook_notify_resume() Date: Fri, 20 Apr 2012 01:15:27 +0200 Message-ID: <20120419231527.GC15828@redhat.com> References: <20120419231431.GA15820@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com ([209.132.183.28]:40297 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577Ab2DSXQS (ORCPT ); Thu, 19 Apr 2012 19:16:18 -0400 Content-Disposition: inline In-Reply-To: <20120419231431.GA15820@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andrew Morton , David Howells , Linus Torvalds , Thomas Gleixner Cc: Alexander Gordeev , Chris Zankel , David Smith , "Frank Ch. Eigler" , Geert Uytterhoeven , Larry Woodman , Peter Zijlstra , Richard Kuo , Tejun Heo , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org arch/hexagon/kernel/signal.c:do_notify_resume() forgets to call tracehook_notify_resume() if TIF_NOTIFY_RESUME is set. Cc: Richard Kuo Signed-off-by: Oleg Nesterov --- arch/hexagon/kernel/signal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/hexagon/kernel/signal.c b/arch/hexagon/kernel/signal.c index ecbab34..ab5f5ad 100644 --- a/arch/hexagon/kernel/signal.c +++ b/arch/hexagon/kernel/signal.c @@ -272,6 +272,7 @@ void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags) if (thread_info_flags & _TIF_NOTIFY_RESUME) { clear_thread_flag(TIF_NOTIFY_RESUME); + tracehook_notify_resume(regs); if (current->replacement_session_keyring) key_replace_session_keyring(); } -- 1.5.5.1