patch-2.1.110 linux/drivers/char/saa5249.c

Next file: linux/drivers/char/tty_io.c
Previous file: linux/drivers/char/rtrack.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/drivers/char/saa5249.c linux/drivers/char/saa5249.c
@@ -48,8 +48,6 @@
 #include <linux/errno.h>
 #include <linux/delay.h>
 #include <linux/ioport.h>
-#include <linux/pci.h>
-#include <linux/bios32.h>
 #include <linux/malloc.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
@@ -130,7 +128,7 @@
 
 #define RESCHED \
         do { \
-          if (need_resched) \
+          if (current->need_resched) \
             schedule(); \
         } while (0)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov