[Top] [All Lists]

Re: [PATCH] Notifier chain called twice

To: Yury Polyanskiy <>
Subject: Re: [PATCH] Notifier chain called twice
From: Sergei Shtylyov <>
Date: Tue, 12 Apr 2011 14:39:55 +0400
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20110303 Thunderbird/3.1.9

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.


   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>