patch-1.3.71 linux/drivers/char/serial.c

Next file: linux/drivers/isdn/teles/card.c
Previous file: linux/drivers/char/selection.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -723,7 +723,7 @@
  * interrupt driver proper are done; the interrupt driver schedules
  * them using rs_sched_event(), and they get done here.
  */
-static void do_serial_bh(void *unused)
+static void do_serial_bh(void)
 {
 	run_task_queue(&tq_serial);
 }
@@ -2665,8 +2665,7 @@
 	int i;
 	struct async_struct * info;
 	
-	bh_base[SERIAL_BH].routine = do_serial_bh;
-	enable_bh(SERIAL_BH);
+	init_bh(SERIAL_BH, do_serial_bh);
 	timer_table[RS_TIMER].fn = rs_timer;
 	timer_table[RS_TIMER].expires = 0;
 #ifdef CONFIG_AUTO_IRQ

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this