summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/sparc/include/asm/timer_32.h
diff options
context:
space:
mode:
authorKevin2014-11-15 09:58:27 +0800
committerKevin2014-11-15 09:58:27 +0800
commit392e8802486cb573b916e746010e141a75f507e6 (patch)
tree50029aca02c81f087b90336e670b44e510782330 /ANDROID_3.4.5/arch/sparc/include/asm/timer_32.h
downloadFOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.gz
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.bz2
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.zip
init android origin source code
Diffstat (limited to 'ANDROID_3.4.5/arch/sparc/include/asm/timer_32.h')
-rw-r--r--ANDROID_3.4.5/arch/sparc/include/asm/timer_32.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/sparc/include/asm/timer_32.h b/ANDROID_3.4.5/arch/sparc/include/asm/timer_32.h
new file mode 100644
index 00000000..1a91e11d
--- /dev/null
+++ b/ANDROID_3.4.5/arch/sparc/include/asm/timer_32.h
@@ -0,0 +1,21 @@
+/*
+ * 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/cpu_type.h> /* For SUN4M_NCPUS */
+#include <asm/btfixup.h>
+
+extern __volatile__ unsigned int *master_l10_counter;
+
+/* FIXME: Make do_[gs]ettimeofday btfixup calls */
+struct timespec;
+BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv)
+#define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv)
+
+#endif /* !(_SPARC_TIMER_H) */