Skip to contentSkip to conversation

arch/mips/sgi/kernel/setup.c patch

PATCH Florian Lohoff 1 participant 1 message Apr 2, 2000 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,
a small sgi setup.c cleanup - It should be obvious - Althgough this only get setup.c to compile again with PROM_CONSOLE as there are still more bugs

Index: setup.c
===================================================================
RCS file: /cvs/linux/arch/mips/sgi/kernel/setup.c,v retrieving revision 1.30

setup.c +3 -4
diff -u -r1.30 setup.c
@@ -30,6 +30,7 @@
 #ifdef CONFIG_REMOTE_DEBUG
 extern void rs_kgdb_hook(int);
 extern void breakpoint(void);
+static int remote_debug = 0;
 #endif
 
 #if defined(CONFIG_SERIAL_CONSOLE) || defined(CONFIG_PROM_CONSOLE)
@@ -40,8 +41,6 @@
 void indy_reboot_setup(void);
 void sgi_volume_set(unsigned char);
 
-static int remote_debug = 0;
-
 #define sgi_kh ((struct hpc_keyb *) (KSEG1 + 0x1fbd9800 + 64))
 
 #define KBD_STAT_IBF		0x02	/* Keyboard input buffer full */
@@ -197,9 +196,9 @@
 #endif
 
 #ifdef CONFIG_SGI_PROM_CONSOLE
-	console_setup("ttyS0", NULL);
+	console_setup("ttyS0");
 #endif
-  
+
 	sgi_volume_set(simple_strtoul(ArcGetEnvironmentVariable("volume"), NULL, 10));
 
 #ifdef CONFIG_VT
Signature · 3 lines
Florian Lohoff		[email protected]		      	+49-5241-470566
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."