patch-2.4.19 linux-2.4.19/arch/mips/arc/time.c
Next file: linux-2.4.19/arch/mips/arc/tree.c
Previous file: linux-2.4.19/arch/mips/arc/salone.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips/arc/time.c
- Orig date:
Sat May 13 08:29:14 2000
diff -urN linux-2.4.18/arch/mips/arc/time.c linux-2.4.19/arch/mips/arc/time.c
@@ -1,19 +1,25 @@
/*
- * time.c: Extracting time information from ARCS prom.
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
*
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Extracting time information from ARCS prom.
*
- * $Id: time.c,v 1.1 1998/10/18 13:32:10 tsbogend Exp $
+ * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
*/
#include <linux/init.h>
+
+#include <asm/arc/types.h>
#include <asm/sgialib.h>
-struct linux_tinfo * __init prom_gettinfo(void)
+struct linux_tinfo * __init
+ArcGetTime(VOID)
{
- return romvec->get_tinfo();
+ return (struct linux_tinfo *) ARC_CALL0(get_tinfo);
}
-unsigned long __init prom_getrtime(void)
+ULONG __init
+ArcGetRelativeTime(VOID)
{
- return romvec->get_rtime();
+ return ARC_CALL0(get_rtime);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)