ARM: 6765/1: remove obsolete comment from asm/mach/arch.h
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / include / asm / localtimer.h
blob6bc63ab498ce45d3c343a4b51f4b26790c8640ee
1 /*
2 * arch/arm/include/asm/localtimer.h
4 * Copyright (C) 2004-2005 ARM Ltd.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef __ASM_ARM_LOCALTIMER_H
11 #define __ASM_ARM_LOCALTIMER_H
13 struct clock_event_device;
16 * Setup a per-cpu timer, whether it be a local timer or dummy broadcast
18 void percpu_timer_setup(void);
21 * Called from assembly, this is the local timer IRQ handler
23 asmlinkage void do_local_timer(struct pt_regs *);
26 #ifdef CONFIG_LOCAL_TIMERS
28 #ifdef CONFIG_HAVE_ARM_TWD
30 #include "smp_twd.h"
32 #define local_timer_ack() twd_timer_ack()
34 #else
37 * Platform provides this to acknowledge a local timer IRQ.
38 * Returns true if the local timer IRQ is to be processed.
40 int local_timer_ack(void);
42 #endif
45 * Setup a local timer interrupt for a CPU.
47 void local_timer_setup(struct clock_event_device *);
49 #endif
51 #endif