aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/localtimer.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-10-28 15:02:27 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-28 15:02:27 -0400
commit1fdb24e969110fafea36d3b393bea438f702c87f (patch)
tree47a1dfef8a259e7922285315f8a02d31b4efe2f1 /arch/arm/include/asm/localtimer.h
parentf362f98e7c445643d27c610bb7a86b79727b592e (diff)
parent531a6a941745e1e045dd2a6bd09e1dc01247a5f3 (diff)
Merge branch 'devel-stable' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm
* 'devel-stable' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm: (178 commits) ARM: 7139/1: fix compilation with CONFIG_ARM_ATAG_DTB_COMPAT and large TEXT_OFFSET ARM: gic, local timers: use the request_percpu_irq() interface ARM: gic: consolidate PPI handling ARM: switch from NO_MACH_MEMORY_H to NEED_MACH_MEMORY_H ARM: mach-s5p64x0: remove mach/memory.h ARM: mach-s3c64xx: remove mach/memory.h ARM: plat-mxc: remove mach/memory.h ARM: mach-prima2: remove mach/memory.h ARM: mach-zynq: remove mach/memory.h ARM: mach-bcmring: remove mach/memory.h ARM: mach-davinci: remove mach/memory.h ARM: mach-pxa: remove mach/memory.h ARM: mach-ixp4xx: remove mach/memory.h ARM: mach-h720x: remove mach/memory.h ARM: mach-vt8500: remove mach/memory.h ARM: mach-s5pc100: remove mach/memory.h ARM: mach-tegra: remove mach/memory.h ARM: plat-tcc: remove mach/memory.h ARM: mach-mmp: remove mach/memory.h ARM: mach-cns3xxx: remove mach/memory.h ... Fix up mostly pretty trivial conflicts in: - arch/arm/Kconfig - arch/arm/include/asm/localtimer.h - arch/arm/kernel/Makefile - arch/arm/mach-shmobile/board-ap4evb.c - arch/arm/mach-u300/core.c - arch/arm/mm/dma-mapping.c - arch/arm/mm/proc-v7.S - arch/arm/plat-omap/Kconfig largely due to some CONFIG option renaming (ie CONFIG_PM_SLEEP -> CONFIG_ARM_CPU_SUSPEND for the arm-specific suspend code etc) and addition of NEED_MACH_MEMORY_H next to HAVE_IDE.
Diffstat (limited to 'arch/arm/include/asm/localtimer.h')
-rw-r--r--arch/arm/include/asm/localtimer.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/arch/arm/include/asm/localtimer.h b/arch/arm/include/asm/localtimer.h
index 6fd955d34c65..c6a18424888e 100644
--- a/arch/arm/include/asm/localtimer.h
+++ b/arch/arm/include/asm/localtimer.h
@@ -11,6 +11,7 @@
11#define __ASM_ARM_LOCALTIMER_H 11#define __ASM_ARM_LOCALTIMER_H
12 12
13#include <linux/errno.h> 13#include <linux/errno.h>
14#include <linux/interrupt.h>
14 15
15struct clock_event_device; 16struct clock_event_device;
16 17
@@ -19,31 +20,20 @@ struct clock_event_device;
19 */ 20 */
20void percpu_timer_setup(void); 21void percpu_timer_setup(void);
21 22
22/*
23 * Called from assembly, this is the local timer IRQ handler
24 */
25asmlinkage void do_local_timer(struct pt_regs *);
26
27/*
28 * Called from C code
29 */
30void handle_local_timer(struct pt_regs *);
31
32#ifdef CONFIG_LOCAL_TIMERS 23#ifdef CONFIG_LOCAL_TIMERS
33 24
34#ifdef CONFIG_HAVE_ARM_TWD 25#ifdef CONFIG_HAVE_ARM_TWD
35 26
36#include "smp_twd.h" 27#include "smp_twd.h"
37 28
38#define local_timer_ack() twd_timer_ack() 29#define local_timer_stop(c) twd_timer_stop((c))
39 30
40#else 31#else
41 32
42/* 33/*
43 * Platform provides this to acknowledge a local timer IRQ. 34 * Stop the local timer
44 * Returns true if the local timer IRQ is to be processed.
45 */ 35 */
46int local_timer_ack(void); 36void local_timer_stop(struct clock_event_device *);
47 37
48#endif 38#endif
49 39
@@ -58,6 +48,10 @@ static inline int local_timer_setup(struct clock_event_device *evt)
58{ 48{
59 return -ENXIO; 49 return -ENXIO;
60} 50}
51
52static inline void local_timer_stop(struct clock_event_device *evt)
53{
54}
61#endif 55#endif
62 56
63#endif 57#endif