Changhwan Youn | cfca3a6 | 2010-07-26 21:13:08 +0900 | [diff] [blame] | 1 | /* linux/arch/arm/mach-s5pv310/localtimer.c |
| 2 | * |
| 3 | * Cloned from linux/arch/arm/mach-realview/localtimer.c |
| 4 | * |
| 5 | * Copyright (C) 2002 ARM Ltd. |
| 6 | * All Rights Reserved |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | |
| 13 | #include <linux/clockchips.h> |
| 14 | |
| 15 | #include <asm/irq.h> |
| 16 | #include <asm/localtimer.h> |
| 17 | |
| 18 | /* |
| 19 | * Setup the local clock events for a CPU. |
| 20 | */ |
| 21 | void __cpuinit local_timer_setup(struct clock_event_device *evt) |
| 22 | { |
| 23 | evt->irq = IRQ_LOCALTIMER; |
| 24 | twd_timer_setup(evt); |
| 25 | } |