aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/localtimer.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2012-01-10 19:44:19 +0000
committerMarc Zyngier <marc.zyngier@arm.com>2012-03-13 13:30:31 +0000
commit4200b16d58cd34ff8e1616d8ed77417f8fc44864 (patch)
tree63fa9b988e46a741006f12874615241cd2aa9fe5 /arch/arm/mach-shmobile/localtimer.c
parentARM: tegra: convert to twd_local_timer_register() interface (diff)
downloadlinux-dev-4200b16d58cd34ff8e1616d8ed77417f8fc44864.tar.xz
linux-dev-4200b16d58cd34ff8e1616d8ed77417f8fc44864.zip
ARM: shmobile: convert to twd_local_timer_register() interface
Add support for the new smp_twd runtime registration interface to the shmobile platforms, and remove the old compile-time support. Cc: Magnus Damm <magnus.damm@gmail.com> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/mach-shmobile/localtimer.c')
-rw-r--r--arch/arm/mach-shmobile/localtimer.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/mach-shmobile/localtimer.c b/arch/arm/mach-shmobile/localtimer.c
deleted file mode 100644
index ad9ccc9900c8..000000000000
--- a/arch/arm/mach-shmobile/localtimer.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * SMP support for R-Mobile / SH-Mobile - local timer portion
- *
- * Copyright (C) 2010 Magnus Damm
- *
- * Based on vexpress, 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/init.h>
-#include <linux/smp.h>
-#include <linux/clockchips.h>
-#include <asm/smp_twd.h>
-#include <asm/localtimer.h>
-
-/*
- * Setup the local clock events for a CPU.
- */
-int __cpuinit local_timer_setup(struct clock_event_device *evt)
-{
- evt->irq = 29;
- twd_timer_setup(evt);
- return 0;
-}