summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/smp_twd.h
diff options
context:
space:
mode:
authorRussell King2009-05-16 13:14:21 +0200
committerRussell King2009-05-17 20:16:41 +0200
commitf32f4ce25745209f16a5a6cef7442144b596c68a (patch)
tree76083f10ee56c82177669bb100358ea2818f8f5a /arch/arm/include/asm/smp_twd.h
parent[ARM] smp: separate SCU support code from realview (diff)
downloadkernel-qcow2-linux-f32f4ce25745209f16a5a6cef7442144b596c68a.tar.gz
kernel-qcow2-linux-f32f4ce25745209f16a5a6cef7442144b596c68a.tar.xz
kernel-qcow2-linux-f32f4ce25745209f16a5a6cef7442144b596c68a.zip
[ARM] smp: allow re-use of realview localtimer TWD support
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/smp_twd.h')
-rw-r--r--arch/arm/include/asm/smp_twd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/smp_twd.h b/arch/arm/include/asm/smp_twd.h
new file mode 100644
index 000000000000..7be0978b2625
--- /dev/null
+++ b/arch/arm/include/asm/smp_twd.h
@@ -0,0 +1,12 @@
+#ifndef __ASMARM_SMP_TWD_H
+#define __ASMARM_SMP_TWD_H
+
+struct clock_event_device;
+
+extern void __iomem *twd_base;
+
+void twd_timer_stop(void);
+int twd_timer_ack(void);
+void twd_timer_setup(struct clock_event_device *);
+
+#endif