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

Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/apm_bios.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/drivers/char/console.c linux/drivers/char/console.c
@@ -1958,7 +1958,7 @@
  * us the option to easily disable it to avoid races when we
  * need to write to the console.
  */
-static void console_bh(void * unused)
+static void console_bh(void)
 {
 	if (want_console >= 0) {
 		if (want_console != fg_console) {
@@ -2101,9 +2101,7 @@
 	if (video_type != VIDEO_TYPE_TGAC)
 		register_console(console_print);
 
-	bh_base[CONSOLE_BH].routine = console_bh;
-	enable_bh(CONSOLE_BH);
-
+	init_bh(CONSOLE_BH, console_bh);
 	return kmem_start;
 }
 

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