diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-09-22 15:20:44 +0200 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-05 13:01:12 +0200 |
commit | 8364f08ab5f8dd3217ee2f2d4b8393c186e4d507 (patch) | |
tree | 1fa8a23aa32f890bf776b1e087ead7d408cb99b7 /arch/arm/include | |
parent | 6bbed941d76cd37f9319c8b8c08d8ea642cb9370 (diff) |
Reset to linux-next patch:
commit 774959368b9b567685179682cebfcf63e540b17b
Author: Colin Cross <ccross@android.com>
Date: Thu May 19 17:24:51 2011 -0700
ARM: smp_twd: Reconfigure clockevents after cpufreq change
Change-Id: If31593fe23c00df528af597e6fd2baaf0c102753
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32132
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/smp_twd.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/include/asm/smp_twd.h b/arch/arm/include/asm/smp_twd.h index 51197634059..fed9981fba0 100644 --- a/arch/arm/include/asm/smp_twd.h +++ b/arch/arm/include/asm/smp_twd.h @@ -17,24 +17,12 @@ #define TWD_TIMER_CONTROL_ONESHOT (0 << 1) #define TWD_TIMER_CONTROL_PERIODIC (1 << 1) #define TWD_TIMER_CONTROL_IT_ENABLE (1 << 2) -#define TWD_TIMER_CONTROL_PRESCALE_MASK (0xFF << 8) struct clock_event_device; extern void __iomem *twd_base; -void twd_timer_stop(void); int twd_timer_ack(void); void twd_timer_setup(struct clock_event_device *); -/* - * Use this setup function on systems that support cpufreq. - * periphclk_prescaler is the fixed divider value between the cpu - * clock and the PERIPHCLK clock that feeds the TWD. target_rate should be - * low enough that the prescaler can accurately reach the target rate from the - * lowest cpu frequency, but high enough to give a reasonable timer accuracy. - */ -void twd_timer_setup_scalable(struct clock_event_device *, - unsigned long target_rate, unsigned int periphclk_prescaler); - #endif |