From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from koto.vergenet.net (koto.vergenet.net [210.128.90.7]) by ozlabs.org (Postfix) with ESMTP id B010D679F0 for ; Thu, 6 Jul 2006 20:50:33 +1000 (EST) Date: Thu, 6 Jul 2006 19:15:22 +0900 From: Horms To: linuxppc-dev@ozlabs.org Subject: asdf Message-ID: <20060706101521.GE26612@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Paul Mackerras , Anton Blanchard List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I have been looking at unifying the way that panic_on_oops logs what it is doing between the different architectures that implement it. The first cab off the rank is the patch below which removes a seemingly silly difference between the behaviour on 32 and 64 bit powerpc. I have not been able to test this as I do not have a ppc64 machine at my disposal. However I did test that it compiles thanks to the wonders of crosstool. Signed-Off-By: Horms arch/powerpc/kernel/traps.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 52f5659..908231a 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c @@ -157,10 +157,8 @@ #endif panic("Fatal exception in interrupt"); if (panic_on_oops) { -#ifdef CONFIG_PPC64 printk(KERN_EMERG "Fatal exception: panic in 5 seconds\n"); ssleep(5); -#endif panic("Fatal exception"); } do_exit(err);