lkml.org 
[lkml]   [2004]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U9
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:
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.847 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site