[PATCH 01/12] ARM: Remove LATCH reference for time-acorn.c

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Aug 5 05:21:38 EDT 2011


On Thu, Aug 04, 2011 at 06:44:37AM -0700, Deepak Saxena wrote:
> As part of work to remove the global CLOCK_TICK_RATE
> symbol, this patch defines a sub-arch local value
> for use by the time-acorn.c file. This is only used
> when mach-rpc is built and the tick rate was taken
> from that sub-arch's timex.h header.
> 
> Signed-off-by: Deepak Saxena <dsaxena at linaro.org>
> ---
>  arch/arm/common/time-acorn.c |   15 +++++++++------
>  1 files changed, 9 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/common/time-acorn.c b/arch/arm/common/time-acorn.c
> index deeed56..0cc3a0d 100644
> --- a/arch/arm/common/time-acorn.c
> +++ b/arch/arm/common/time-acorn.c
> @@ -24,6 +24,9 @@
>  
>  #include <asm/mach/time.h>
>  
> +#define ACORN_TICK_RATE         2000000
> +#define ACORN_TIMER_LATCH	((CLOCK_TICK_RATE + HZ/2) / HZ)

Shouldn't this be ACORN_TICK_RATE ?



More information about the linux-arm-kernel mailing list