summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos4/localtimer.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-02-14 16:13:27 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-02-22 13:51:15 +0900
commit3c31336dc5b7ea5b6d6168a8c38c46dd54d65e95 (patch)
tree05f14adeefd2303320eac8dabf2f5cfb4dcce954 /arch/arm/mach-exynos4/localtimer.c
parentc81a24ff8f4efda02ffaa0c3170155550bcae339 (diff)
ARM: EXYNOS4: Update Timer part
This patch updates Timer part of EXYNOS4 according to the change of ARCH name, EXYNOS4. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4/localtimer.c')
-rw-r--r--arch/arm/mach-exynos4/localtimer.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/localtimer.c b/arch/arm/mach-exynos4/localtimer.c
new file mode 100644
index 000000000000..2a2993ae8d86
--- /dev/null
+++ b/arch/arm/mach-exynos4/localtimer.c
@@ -0,0 +1,25 @@
+/* linux/arch/arm/mach-exynos4/localtimer.c
+ *
+ * Cloned from linux/arch/arm/mach-realview/localtimer.c
+ *
+ * Copyright (C) 2002 ARM Ltd.
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/clockchips.h>
+
+#include <asm/irq.h>
+#include <asm/localtimer.h>
+
+/*
+ * Setup the local clock events for a CPU.
+ */
+void __cpuinit local_timer_setup(struct clock_event_device *evt)
+{
+ evt->irq = IRQ_LOCALTIMER;
+ twd_timer_setup(evt);
+}