summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorFlorian Schirmer <devnull@localhost>2002-12-20 22:40:09 +0000
committerFlorian Schirmer <devnull@localhost>2002-12-20 22:40:09 +0000
commitc37252b66fdc54f6e304fe911df19fb7eb2bf513 (patch)
treed41bd8fc923e257833c3ead2de09ccb211042190 /linux
parent2a71e53429e583ea21add430b5df0942d6bd2cf0 (diff)
downloadmediapointer-dvb-s2-c37252b66fdc54f6e304fe911df19fb7eb2bf513.tar.gz
mediapointer-dvb-s2-c37252b66fdc54f6e304fe911df19fb7eb2bf513.tar.bz2
Compat stuff for 2.4
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 179d1af24..bb67ff53d 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -437,9 +437,11 @@ int dvb_frontend_thread (void *data)
lock_kernel ();
daemonize ();
-/* not needed anymore in 2.5.x, done in daemonize()
+/* not needed anymore in 2.5.x, done in daemonize() */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
reparent_to_init ();
-*/
+#endif
+
sigfillset (&current->blocked);
fe->thread = current;
snprintf (current->comm, sizeof (current->comm), "kdvb-fe-%i:%i",