patch-2.1.101 linux/arch/sparc64/prom/p1275.c

Next file: linux/arch/sparc64/solaris/signal.h
Previous file: linux/arch/sparc64/mm/ultra.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/arch/sparc64/prom/p1275.c linux/arch/sparc64/prom/p1275.c
@@ -1,4 +1,4 @@
-/* $Id: p1275.c,v 1.12 1997/07/26 18:39:01 davem Exp $
+/* $Id: p1275.c,v 1.13 1998/04/24 15:45:35 jj Exp $
  * p1275.c: Sun IEEE 1275 PROM low level interface routines
  *
  * Copyright (C) 1996,1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
@@ -24,6 +24,8 @@
 	char prom_buffer [3000];
 } p1275buf;
 
+extern void prom_world(int);
+
 void prom_cif_interface (void)
 {
 	__asm__ __volatile__ ("
@@ -115,7 +117,11 @@
 	}
 	va_end(list);
 
+	prom_world(1);
+	
 	prom_cif_interface();
+	
+	prom_world(0);
 
 	attrs = fmt >> 8;
 	va_start(list, fmt);

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