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

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 22 17:59:05 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=0c403462d6822227ea37fb0293a3e9f511e6929f
Commit:     0c403462d6822227ea37fb0293a3e9f511e6929f
Parent:     b7ec699405f55667caeb46d96229d75bf33a83ad
Author:     Will Deacon <will.deacon at arm.com>
AuthorDate: Tue Nov 19 15:46:17 2013 +0100
Committer:  Russell King <rmk+kernel at arm.linux.org.uk>
CommitDate: Wed Nov 20 23:05:53 2013 +0000

    ARM: 7894/1: 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.
    
    Acked-by: Marc Zyngier <marc.zyngier at arm.com>
    Signed-off-by: Will Deacon <will.deacon at arm.com>
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 085b31b..c2a372a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1496,6 +1496,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
 



More information about the linux-mtd-cvs mailing list