patch-2.4.19 linux-2.4.19/arch/mips/arc/console.c

Next file: linux-2.4.19/arch/mips/arc/env.c
Previous file: linux-2.4.19/arch/mips/arc/cmdline.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips/arc/console.c linux-2.4.19/arch/mips/arc/console.c
@@ -6,7 +6,6 @@
  * Copyright (C) 1996 David S. Miller (dm@sgi.com)
  * Compability with board caches, Ulf Carlsson
  */
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <asm/sgialib.h>
@@ -31,7 +30,7 @@
 	char it = c;
 
 	bc_disable();
-	romvec->write(1, &it, 1, &cnt);
+	ArcWrite(1, &it, 1, &cnt);
 	bc_enable();
 }
 
@@ -41,7 +40,7 @@
 	char c;
 
 	bc_disable();
-	romvec->read(0, &c, 1, &cnt);
+	ArcRead(0, &c, 1, &cnt);
 	bc_enable();
 
 	return c;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)