Skip to contentSkip to conversation

ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER

PATCH New Will Deacon 2 participants 2 messages Nov 7, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER

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.

---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index 22700fda2047..bce493e8cb8f 100644
@@ -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
 
Signature · 1 line
1.8.2.2
#1 lore raw

PATCH 1/1 ARM: kconfig: select GENERIC_CLOCKEVENTS if HAVE_ARM_ARCH_TIMER

Quoted 8 lines · Will Deacon

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.

Good catch.

Quoted 17 lines
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index 22700fda2047..bce493e8cb8f 100644
@@ -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
 
Signature · 1 line
Jazz is not dead. It just smells funny...