diff options
author | Florian Schirmer <devnull@localhost> | 2002-12-20 22:40:09 +0000 |
---|---|---|
committer | Florian Schirmer <devnull@localhost> | 2002-12-20 22:40:09 +0000 |
commit | c37252b66fdc54f6e304fe911df19fb7eb2bf513 (patch) | |
tree | d41bd8fc923e257833c3ead2de09ccb211042190 /linux | |
parent | 2a71e53429e583ea21add430b5df0942d6bd2cf0 (diff) | |
download | mediapointer-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.c | 6 |
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 (¤t->blocked); fe->thread = current; snprintf (current->comm, sizeof (current->comm), "kdvb-fe-%i:%i", |