Skip to contentSkip to conversation

2.6.16-rc6-rt9 - Remove duplicated REMINDER prints

PATCH New Jan Altenberg 1 participant 1 message Mar 17, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.6.16-rc6-rt9 - Remove duplicated REMINDER prints

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

----------------------

init/main.c renamed from init/main.c.orig +0 -41
@@ -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