* [PATCH] ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER
@ 2013-11-07 19:02 Will Deacon
2013-11-07 19:08 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Will Deacon @ 2013-11-07 19:02 UTC (permalink / raw)
To: linux-arm-kernel
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@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
--
1.8.2.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER
2013-11-07 19:02 [PATCH] ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER Will Deacon
@ 2013-11-07 19:08 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2013-11-07 19:08 UTC (permalink / raw)
To: linux-arm-kernel
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@arm.com>
Good catch.
Acked-by: Marc Zyngier <marc.zyngier@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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-07 19:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 19:02 [PATCH] ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER Will Deacon
2013-11-07 19:08 ` Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox