Skip to contentSkip to conversation

trivial fix to REMINDER block in init/main.c

PATCH In review Clark Williams 2 participants 2 messages Feb 25, 2010 – Feb 26, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial fix to REMINDER block in init/main.c

Thomas,

Here's a trivial patch to the RT tree. I noticed during testing that I was getting an empty REMINDER block in dmesg. Looks like STACK_TRACER got dropped.

Clark

init/main.c +3 -0
index aa48b7b..48393c0 100644
@@ -928,6 +928,9 @@ 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 lore raw

Hello,

Quoted 5 lines · Clark Williams

Thomas,

Here's a trivial patch to the RT tree. I noticed during testing that I was getting an empty REMINDER block in dmesg. Looks like STACK_TRACER got dropped.

This patch doesn't qualify for a patent:

http://marc.info/?l=linux-rt-users&m=123839719221161&w=2

:-) (IIRC I reordered the tests to have the same order as in the #if, but didn't recheck.)

Best regards
Uwe

Signature · 6 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html