patch-2.1.101 linux/arch/mips/sgi/prom/time.c
Next file: linux/arch/mips/sgi/prom/tree.c
Previous file: linux/arch/mips/sgi/prom/tags.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri May 8 00:13:25 1998
- Orig file:
v2.1.100/linux/arch/mips/sgi/prom/time.c
- Orig date:
Wed Dec 10 10:31:10 1997
diff -u --recursive --new-file v2.1.100/linux/arch/mips/sgi/prom/time.c linux/arch/mips/sgi/prom/time.c
@@ -1,17 +1,19 @@
-/* $Id: time.c,v 1.1.1.1 1997/06/01 03:16:40 ralf Exp $
+/*
* time.c: Extracting time information from ARCS prom.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ *
+ * $Id: time.c,v 1.2 1998/05/01 01:35:29 ralf Exp $
*/
-
+#include <linux/init.h>
#include <asm/sgialib.h>
-struct linux_tinfo *prom_gettinfo(void)
+__initfunc(struct linux_tinfo *prom_gettinfo(void))
{
return romvec->get_tinfo();
}
-unsigned long prom_getrtime(void)
+__initfunc(unsigned long prom_getrtime(void))
{
return romvec->get_rtime();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov