1/* 2 * SMP support for R-Mobile / SH-Mobile - local timer portion 3 * 4 * Copyright (C) 2010 Magnus Damm 5 * 6 * Based on vexpress, Copyright (C) 2002 ARM Ltd, 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#include <linux/init.h> 13#include <linux/smp.h> 14#include <linux/clockchips.h> 15#include <asm/smp_twd.h> 16#include <asm/localtimer.h> 17 18/* 19 * Setup the local clock events for a CPU. 20 */ 21void __cpuinit local_timer_setup(struct clock_event_device *evt) 22{ 23 evt->irq = 29; 24 twd_timer_setup(evt); 25} 26