patch-1.3.71 linux/arch/sparc/prom/misc.c

Next file: linux/arch/sparc/prom/tree.c
Previous file: linux/arch/sparc/prom/devtree.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/arch/sparc/prom/misc.c linux/arch/sparc/prom/misc.c
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.3 1995/11/25 01:00:04 davem Exp $
+/* $Id: misc.c,v 1.5 1996/02/02 03:37:44 davem Exp $
  * misc.c:  Miscellaneous prom functions that don't belong
  *          anywhere else.
  *
@@ -29,13 +29,19 @@
 	return;
 }
 
+/* We want to do this more nicely some day. */
+extern void console_restore_palette(void);
+extern void set_palette(void);
+
 /* Drop into the prom, with the chance to continue with the 'go'
  * prom command.
  */
 void
 prom_halt(void)
 {
+        console_restore_palette ();
 	(*(romvec->pv_abort))();
+	set_palette ();
 	return;
 }
 

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