diff options
author | Holger Waechtler <devnull@localhost> | 2003-03-21 15:28:11 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-03-21 15:28:11 +0000 |
commit | 45a8287d7d7b76915cbdd65021a0988ab49561ec (patch) | |
tree | 1c7783cff1b3cf0e5e37d766b1c75ab416a9b414 | |
parent | 8c45d92457f59a0fbf9cfdeb5f93c412ad524812 (diff) | |
download | mediapointer-dvb-s2-45a8287d7d7b76915cbdd65021a0988ab49561ec.tar.gz mediapointer-dvb-s2-45a8287d7d7b76915cbdd65021a0988ab49561ec.tar.bz2 |
even more portability stuff
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 5 | ||||
-rw-r--r-- | linux/include/linux/dvb/frontend.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index a7aa25c12..61b9f291a 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -25,7 +25,7 @@ #include <asm/processor.h> #include <asm/semaphore.h> #include <asm/errno.h> -#include <asm/string.h> +#include <linux/string.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/wait.h> @@ -436,6 +436,7 @@ int dvb_frontend_thread (void *data) fe->frontend.i2c->adapter->num, fe->frontend.i2c->id); kernel_thread_setup (name); + fe->thread = current; fe->lost_sync_count = -1; @@ -505,7 +506,7 @@ void dvb_frontend_stop (struct dvb_frontend_data *fe) while (fe->thread) { fe->exit = 1; wake_up_interruptible (&fe->wait_queue); - current->state = TASK_INTERRUPTIBLE; + set_current_state(TASK_INTERRUPTIBLE); schedule_timeout (5); if (signal_pending(current)) break; diff --git a/linux/include/linux/dvb/frontend.h b/linux/include/linux/dvb/frontend.h index a0f3157d0..3f6e61d93 100644 --- a/linux/include/linux/dvb/frontend.h +++ b/linux/include/linux/dvb/frontend.h @@ -26,7 +26,7 @@ #ifndef _DVBFRONTEND_H_ #define _DVBFRONTEND_H_ -#include <linux/types.h> +#include <asm/types.h> typedef enum fe_type { |