From: <far...@us...> - 2006-08-20 12:27:51
|
Revision: 546 Author: farcaller Date: 2006-08-20 05:27:38 -0700 (Sun, 20 Aug 2006) ViewCVS: http://svn.sourceforge.net/hackndev/?rev=546&view=rev Log Message: ----------- l4p: SMALLOOPS config option to suppress most of oops output Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/kernel/traps.c linux4palm/linux/trunk/lib/Kconfig.debug Modified: linux4palm/linux/trunk/arch/arm/kernel/traps.c =================================================================== --- linux4palm/linux/trunk/arch/arm/kernel/traps.c 2006-08-15 12:52:32 UTC (rev 545) +++ linux4palm/linux/trunk/arch/arm/kernel/traps.c 2006-08-20 12:27:38 UTC (rev 546) @@ -204,7 +204,7 @@ { struct task_struct *tsk = thread->task; static int die_counter; - +#ifdef CONFIG_SMALLOOPS printk("Internal error: %s: %x [#%d]\n", str, err, ++die_counter); print_modules(); __show_regs(regs); @@ -217,6 +217,7 @@ dump_backtrace(regs, tsk); dump_instr(regs); } +#endif } DEFINE_SPINLOCK(die_lock); Modified: linux4palm/linux/trunk/lib/Kconfig.debug =================================================================== --- linux4palm/linux/trunk/lib/Kconfig.debug 2006-08-15 12:52:32 UTC (rev 545) +++ linux4palm/linux/trunk/lib/Kconfig.debug 2006-08-20 12:27:38 UTC (rev 546) @@ -23,6 +23,11 @@ keys are documented in <file:Documentation/sysrq.txt>. Don't say Y unless you really know what this hack does. +config SMALLOOPS + bool "Small oops output" + help + Supresses most of oops output + config DEBUG_KERNEL bool "Kernel debugging" help This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |