linux-mips
[Top] [All Lists]

Re: [PATCH] Notifier chain called twice

To: Yury Polyanskiy <ypolyans@princeton.edu>
Subject: Re: [PATCH] Notifier chain called twice
From: Sergei Shtylyov <sshtylyov@mvista.com>
Date: Tue, 12 Apr 2011 14:39:55 +0400
Cc: linux-mips@linux-mips.org
In-reply-to: <BANLkTikTDQgwHtK1V4AqRAALw_HrSTuvnQ@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <BANLkTikTDQgwHtK1V4AqRAALw_HrSTuvnQ@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
Hello.

On 12-04-2011 10:44, Yury Polyanskiy wrote:

Dear all,

The notifier chain is currently called twice on OOPS. Patch below.

   You need to provide your signoff for the patch to be applied.

Best,
Yury

   The greeting and goodbye shouldn't be parts of the patch.

diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 4e00f9b..fdc6773 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -375,8 +375,6 @@ void __noreturn die(const char *str, str
         unsigned long dvpret = dvpe();
  #endif /* CONFIG_MIPS_MT_SMTC */

-       notify_die(DIE_OOPS, str, regs, 0, regs_to_trapnr(regs), SIGSEGV);
-

Unfortunately, the patch is whitespace-mangled: all tabs have been replaced by spaces.

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>