diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-01-10 19:07:28 (GMT) |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-03-13 13:27:49 (GMT) |
commit | abde710ca8776f851e41c3dfe78ad7dcafa26dc9 (patch) | |
tree | d99380a73c205bd746638384010539bf55beb29f /arch/arm/include | |
parent | a2821146e6f69566a384b368b90c22e84aaf7ef3 (diff) | |
download | linux-fsl-qoriq-abde710ca8776f851e41c3dfe78ad7dcafa26dc9.tar.xz |
ARM: smp_twd: make local_timer_stop a symbol instead of a #define
When CONFIG_HAVE_ARM_TWD is selected, local_timer_stop is a #define,
while all other local timers are using a real function.
Convert it to an alias of twd_timer_stop, as it helps converting
all local timers to another internal API in a sane way.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/localtimer.h | 6 | ||||
-rw-r--r-- | arch/arm/include/asm/smp_twd.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/include/asm/localtimer.h b/arch/arm/include/asm/localtimer.h index c6a1842..7e1b2c5 100644 --- a/arch/arm/include/asm/localtimer.h +++ b/arch/arm/include/asm/localtimer.h @@ -26,17 +26,13 @@ void percpu_timer_setup(void); #include "smp_twd.h" -#define local_timer_stop(c) twd_timer_stop((c)) - -#else +#endif /* * Stop the local timer */ void local_timer_stop(struct clock_event_device *); -#endif - /* * Setup a local timer interrupt for a CPU. */ diff --git a/arch/arm/include/asm/smp_twd.h b/arch/arm/include/asm/smp_twd.h index ef9ffba9..bf8449d 100644 --- a/arch/arm/include/asm/smp_twd.h +++ b/arch/arm/include/asm/smp_twd.h @@ -23,6 +23,5 @@ struct clock_event_device; extern void __iomem *twd_base; void twd_timer_setup(struct clock_event_device *); -void twd_timer_stop(struct clock_event_device *); #endif |