Prev: DMAENGINE: DMA40 U8500 platform configuration v3
Next: [RFC] ehci: Disable wake on overcurrent (WKOC_E) and disconnect (WKDISC_E)
From: John Kacur on 27 Apr 2010 15:30 This fix does two things. 1. It reverts commit 3e39399ef4a742d994570488994be93ef17d4ef5. - The above commit added back a warning about CONFIG_STACK_TRACER NOT because the warning was necessary but to fix-up a problem where you could get an empty REMINDER block in the demg. However, CONFIG_STACK_TRACER really should not be in the reminder block. Even when configured-in it is not enabled, and thus has neglible impact. 2. It removes CONFIG_STACK_TRACER from DEBUG_COUNT which is the proper fix for the empty REMINDER block problem. This patch is for rt only. (this code doesn't exist in mainline) Signed-off-by: John Kacur <jkacur(a)redhat.com> Acked-by: Steven Rostedt <rostedt(a)goodmis.org> --- init/main.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/init/main.c b/init/main.c index 592c16a..f26cb63 100644 --- a/init/main.c +++ b/init/main.c @@ -908,7 +908,7 @@ static int __init kernel_init(void * unused) WARN_ON(irqs_disabled()); #endif -#define DEBUG_COUNT (defined(CONFIG_DEBUG_RT_MUTEXES) + defined(CONFIG_IRQSOFF_TRACER) + defined(CONFIG_PREEMPT_TRACER) + defined(CONFIG_STACK_TRACER) + defined(CONFIG_INTERRUPT_OFF_HIST) + defined(CONFIG_PREEMPT_OFF_HIST) + defined(CONFIG_WAKEUP_LATENCY_HIST) + defined(CONFIG_DEBUG_SLAB) + defined(CONFIG_DEBUG_PAGEALLOC) + defined(CONFIG_LOCKDEP) + (defined(CONFIG_FTRACE) - defined(CONFIG_FTRACE_MCOUNT_RECORD))) +#define DEBUG_COUNT (defined(CONFIG_DEBUG_RT_MUTEXES) + defined(CONFIG_IRQSOFF_TRACER) + defined(CONFIG_PREEMPT_TRACER) + defined(CONFIG_INTERRUPT_OFF_HIST) + defined(CONFIG_PREEMPT_OFF_HIST) + defined(CONFIG_WAKEUP_LATENCY_HIST) + defined(CONFIG_DEBUG_SLAB) + defined(CONFIG_DEBUG_PAGEALLOC) + defined(CONFIG_LOCKDEP) + (defined(CONFIG_FTRACE) - defined(CONFIG_FTRACE_MCOUNT_RECORD))) #if DEBUG_COUNT > 0 printk(KERN_ERR "*****************************************************************************\n"); @@ -928,9 +928,6 @@ static int __init kernel_init(void * unused) #ifdef CONFIG_PREEMPT_TRACER printk(KERN_ERR "* CONFIG_PREEMPT_TRACER *\n"); #endif -#ifdef CONFIG_STACK_TRACER - printk(KERN_ERR "* CONFIG_STACK_TRACER *\n"); -#endif #if defined(CONFIG_FTRACE) && !defined(CONFIG_FTRACE_MCOUNT_RECORD) printk(KERN_ERR "* CONFIG_FTRACE *\n"); #endif -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |