#include <linux/clockchips.h>
#include <asm/irq.h>
#include <asm/numachip/numachip.h>
#include <asm/numachip/numachip_csr.h>
static DEFINE_PER_CPU(struct clock_event_device, numachip2_ced);
static cycles_t numachip2_timer_read(struct clocksource *cs)
{ … }
static struct clocksource numachip2_clocksource = …;
static int numachip2_set_next_event(unsigned long delta, struct clock_event_device *ced)
{ … }
static const struct clock_event_device numachip2_clockevent __initconst = …;
static void numachip_timer_interrupt(void)
{ … }
static __init void numachip_timer_each(struct work_struct *work)
{ … }
static int __init numachip_timer_init(void)
{ … }
arch_initcall(numachip_timer_init);