Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U9

From: Michal Schmidt
Date: Thu Oct 21 2004 - 12:00:41 EST


Ingo Molnar wrote:

- netconsole fixes from Michal Schmidt


The #ifdef is not right. Patch attached.

Michal --- linux-2.6.9-rc4-mm1-U9.1/drivers/net/netconsole.c 2004-10-21 17:14:22.000000000 +0200
+++ linux-2.6.9-rc4-mm1-U9.1-mich/drivers/net/netconsole.c 2004-10-21 17:15:09.000000000 +0200
@@ -74,7 +74,7 @@ static void write_msg(struct console *co
return;

local_irq_save(flags);
-#ifdef PREEMPT_REALTIME
+#ifdef CONFIG_PREEMPT_REALTIME
/*
* A bit hairy. Netconsole uses mutexes (indirectly) and
* thus must have interrupts enabled: