summaryrefslogtreecommitdiffstats
path: root/arch/mips/arc/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/arc/time.c')
-rw-r--r--arch/mips/arc/time.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/arc/time.c b/arch/mips/arc/time.c
new file mode 100644
index 000000000..b8dcb1251
--- /dev/null
+++ b/arch/mips/arc/time.c
@@ -0,0 +1,19 @@
+/*
+ * 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/04/05 11:24:04 ralf Exp $
+ */
+#include <linux/init.h>
+#include <asm/sgialib.h>
+
+__initfunc(struct linux_tinfo *prom_gettinfo(void))
+{
+ return romvec->get_tinfo();
+}
+
+__initfunc(unsigned long prom_getrtime(void))
+{
+ return romvec->get_rtime();
+}