From 1cea7326b3fff97d17d33fb8f33163409a84431b Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Sun, 21 Feb 2010 17:46:23 -0800 Subject: [ARM] tegra: SMP support Signed-off-by: Colin Cross Signed-off-by: Erik Gilling --- arch/arm/mach-tegra/localtimer.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm/mach-tegra/localtimer.c (limited to 'arch/arm/mach-tegra/localtimer.c') diff --git a/arch/arm/mach-tegra/localtimer.c b/arch/arm/mach-tegra/localtimer.c new file mode 100644 index 000000000000..f81ca7cbbc1f --- /dev/null +++ b/arch/arm/mach-tegra/localtimer.c @@ -0,0 +1,25 @@ +/* + * arch/arm/mach-tegra/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 +#include +#include +#include +#include +#include + +/* + * 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); +} -- cgit v1.2.3