patch-2.1.23 linux/arch/sparc64/prom/k1275d.c

Next file: linux/arch/sparc64/vmlinux.lds
Previous file: linux/arch/sparc64/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.22/linux/arch/sparc64/prom/k1275d.c linux/arch/sparc64/prom/k1275d.c
@@ -1,4 +1,4 @@
-/* $Id: k1275d.c,v 1.1 1996/12/27 08:49:12 jj Exp $
+/* $Id: k1275d.c,v 1.2 1997/01/02 14:14:44 jj Exp $
  * k1275d.c: Sun IEEE 1275 PROM kernel daemon
  *
  * Copyright (C) 1996 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
@@ -13,6 +13,12 @@
 
 #define p1275sect __attribute__ ((__section__ (".p1275")))
 
+static void (*prom_cif_handler)(long *) p1275sect;
+static long prom_cif_stack;
+static void (*prom_do_it)(void);
+static long prom_args [23] p1275sect;
+static char prom_buffer [4096] p1275sect;
+
 static void prom_doit (void) p1275sect;
 
 static void prom_doit (void)
@@ -33,12 +39,6 @@
 	restore;
 	" : : "r" (prom_cif_stack), "r" (prom_cif_handler));
 }
-
-static void (*prom_cif_handler)(long *) p1275sect;
-static void prom_cif_stack;
-static void (*prom_do_it)(void);
-static long prom_args [23] p1275sect;
-static char prom_buffer [4096] p1275sect;
 
 long prom_handle_command(char *service, long fmt, ...)
 {

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