[PATCH] ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER

Marc Zyngier marc.zyngier at arm.com
Thu Nov 7 14:08:56 EST 2013


On 07/11/13 19:02, Will Deacon wrote:
> The ARM architected timer driver doesn't compile without
> GENERIC_CLOCKEVENTS selected, so ensure that we select it when building
> for a platform that has the timer.
> 
> Without this patch, mach-virt fails to build without something like
> mach-vexpress also selected.
> 
> Signed-off-by: Will Deacon <will.deacon at arm.com>

Good catch.

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

> ---
>  arch/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 22700fda2047..bce493e8cb8f 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1533,6 +1533,7 @@ config HAVE_ARM_ARCH_TIMER
>  	bool "Architected timer support"
>  	depends on CPU_V7
>  	select ARM_ARCH_TIMER
> +	select GENERIC_CLOCKEVENTS
>  	help
>  	  This option enables support for the ARM architected timer
>  
> 


-- 
Jazz is not dead. It just smells funny...




More information about the linux-arm-kernel mailing list