[PATCH] 2.6.16-rc6-rt9 - Remove duplicated REMINDER prints
From: Jan Altenberg
Date: Fri Mar 17 2006 - 09:03:11 EST
Hi,
looking at init/main.c, I recognized duplicated REMINDER prints.
(existant since 2.6.16-rc6-rt1)
See attached patch against 2.6.16-rc6-rt9
Signed-off-by: Jan Altenberg <tb10alj@xxxxxxx>
----------------------
--- linux-2.6.16-rc6-rt9/init/main.c.orig 2006-03-17 14:50:28.000000000 +0100
+++ linux-2.6.16-rc6-rt9/init/main.c 2006-03-17 14:52:06.000000000 +0100
@@ -714,47 +714,6 @@ static int init(void * unused)
do_basic_setup();
-#define DEBUG_COUNT (defined(CONFIG_DEBUG_RT_MUTEXES) + defined(CONFIG_DEBUG_PREEMPT) + defined(CONFIG_CRITICAL_PREEMPT_TIMING) + defined(CONFIG_CRITICAL_IRQSOFF_TIMING) + defined(CONFIG_LATENCY_TRACE) + defined(CONFIG_DEBUG_SLAB) + defined(CONFIG_DEBUG_PAGEALLOC))
-
-#if DEBUG_COUNT > 0
- printk(KERN_ERR "*****************************************************************************\n");
- printk(KERN_ERR "* *\n");
-#if DEBUG_COUNT == 1
- printk(KERN_ERR "* REMINDER, the following debugging option is turned on in your .config: *\n");
-#else
- printk(KERN_ERR "* REMINDER, the following debugging options are turned on in your .config: *\n");
-#endif
- printk(KERN_ERR "* *\n");
-#ifdef CONFIG_DEBUG_RT_MUTEXES
- printk(KERN_ERR "* CONFIG_DEBUG_RT_MUTEXES *\n");
-#endif
-#ifdef CONFIG_DEBUG_PREEMPT
- printk(KERN_ERR "* CONFIG_DEBUG_PREEMPT *\n");
-#endif
-#ifdef CONFIG_CRITICAL_PREEMPT_TIMING
- printk(KERN_ERR "* CONFIG_CRITICAL_PREEMPT_TIMING *\n");
-#endif
-#ifdef CONFIG_CRITICAL_IRQSOFF_TIMING
- printk(KERN_ERR "* CONFIG_CRITICAL_IRQSOFF_TIMING *\n");
-#endif
-#ifdef CONFIG_LATENCY_TRACE
- printk(KERN_ERR "* CONFIG_LATENCY_TRACE *\n");
-#endif
-#ifdef CONFIG_DEBUG_SLAB
- printk(KERN_ERR "* CONFIG_DEBUG_SLAB *\n");
-#endif
-#ifdef CONFIG_DEBUG_PAGEALLOC
- printk(KERN_ERR "* CONFIG_DEBUG_PAGEALLOC *\n");
-#endif
- printk(KERN_ERR "* *\n");
-#if DEBUG_COUNT == 1
- printk(KERN_ERR "* it may increase runtime overhead and latencies. *\n");
-#else
- printk(KERN_ERR "* they may increase runtime overhead and latencies. *\n");
-#endif
- printk(KERN_ERR "* *\n");
- printk(KERN_ERR "*****************************************************************************\n");
-#endif
/*
* check if there is an early userspace init. If yes, let it do all
* the work
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/