diff options
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", |