summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/timer_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/timer_32.h')
-rw-r--r--arch/sparc/include/asm/timer_32.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/timer_32.h b/arch/sparc/include/asm/timer_32.h
new file mode 100644
index 00000000000..2ec030ef381
--- /dev/null
+++ b/arch/sparc/include/asm/timer_32.h
@@ -0,0 +1,20 @@
+/*
+ * timer.h: Definitions for the timer chips on the Sparc.
+ *
+ * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
+ */
+
+
+#ifndef _SPARC_TIMER_H
+#define _SPARC_TIMER_H
+
+#include <asm/system.h> /* For SUN4M_NCPUS */
+#include <asm/btfixup.h>
+
+extern __volatile__ unsigned int *master_l10_counter;
+
+/* FIXME: Make do_[gs]ettimeofday btfixup calls */
+BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv)
+#define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv)
+
+#endif /* !(_SPARC_TIMER_H) */