lkml.org 
[lkml]   [2004]   [Nov]   [18]   [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.10-rc2-mm1-V0.7.28-0

* Christian Meder <chris@onestepahead.de> wrote:

> Thanks, will try soon and report. There was another trace in my log of
> the vdr/router box which seemed unrelated to the bridging traces.

does the patch below fix that message?

Ingo

--- linux/drivers/media/dvb/dvb-core/dvb_frontend.c.orig2
+++ linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -658,7 +658,7 @@ static void dvb_frontend_stop (struct dv
printk("dvb_frontend_stop: thread PID %d already died\n",
fe->thread_pid);
/* make sure the mutex was not held by the thread */
- init_MUTEX (&fe->sem);
+ sema_init_nocheck (&fe->sem, 1);
return;
}

@@ -1127,10 +1127,10 @@ dvb_register_frontend (int (*ioctl) (str

memset (fe, 0, sizeof (struct dvb_frontend_data));

- init_MUTEX (&fe->sem);
+ sema_init_nocheck (&fe->sem, 1);
init_waitqueue_head (&fe->wait_queue);
init_waitqueue_head (&fe->events.wait_queue);
- init_MUTEX (&fe->events.sem);
+ sema_init_nocheck (&fe->events.sem, 1);
fe->events.eventw = fe->events.eventr = 0;
fe->events.overflow = 0;
fe->module = module;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.692 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site