aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/localtimer.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2012-01-10 18:38:25 -0500
committerMarc Zyngier <marc.zyngier@arm.com>2012-03-13 09:45:55 -0400
commitd45785929f1248d2e769f959f180f0504e326622 (patch)
treeb9ff3ebc9ec742f649261d51d269dd8c7b2e6172 /arch/arm/include/asm/localtimer.h
parent5ca709c16d0fb88b86db35e958b165b61cbc1962 (diff)
ARM: local timers: make the runtime registration interface mandatory
Remove all traces of the compile-time local timer interface, and make the runtime selection mandatory. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/include/asm/localtimer.h')
-rw-r--r--arch/arm/include/asm/localtimer.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/include/asm/localtimer.h b/arch/arm/include/asm/localtimer.h
index 955eed10ffb5..f77ffc1eb0c2 100644
--- a/arch/arm/include/asm/localtimer.h
+++ b/arch/arm/include/asm/localtimer.h
@@ -19,38 +19,12 @@ struct local_timer_ops {
19 void (*stop)(struct clock_event_device *); 19 void (*stop)(struct clock_event_device *);
20}; 20};
21 21
22/*
23 * Setup a per-cpu timer, whether it be a local timer or dummy broadcast
24 */
25void percpu_timer_setup(void);
26
27#ifdef CONFIG_LOCAL_TIMERS 22#ifdef CONFIG_LOCAL_TIMERS
28/* 23/*
29 * Stop the local timer
30 */
31void local_timer_stop(struct clock_event_device *);
32
33/*
34 * Setup a local timer interrupt for a CPU.
35 */
36int local_timer_setup(struct clock_event_device *);
37
38/*
39 * Register a local timer driver 24 * Register a local timer driver
40 */ 25 */
41int local_timer_register(struct local_timer_ops *); 26int local_timer_register(struct local_timer_ops *);
42
43#else 27#else
44
45static inline int local_timer_setup(struct clock_event_device *evt)
46{
47 return -ENXIO;
48}
49
50static inline void local_timer_stop(struct clock_event_device *evt)
51{
52}
53
54static inline int local_timer_register(struct local_timer_ops *ops) 28static inline int local_timer_register(struct local_timer_ops *ops)
55{ 29{
56 return -ENXIO; 30 return -ENXIO;