blackfin: Use generic time config
Anna-Maria Gleixner [Fri, 18 May 2012 16:45:45 +0000 (16:45 +0000)]
Use seperate selector for clockevents.

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Link: http://lkml.kernel.org/r/20120518163105.026597932@glx-um.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

arch/blackfin/Kconfig

index 373a690..bc21de2 100644 (file)
@@ -37,6 +37,7 @@ config BLACKFIN
        select GENERIC_IRQ_PROBE
        select IRQ_PER_CPU if SMP
        select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
+       select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS
 
 config GENERIC_CSUM
        def_bool y
@@ -593,9 +594,10 @@ comment "Kernel Timer/Scheduler"
 
 source kernel/Kconfig.hz
 
-config GENERIC_CLOCKEVENTS
+config SET_GENERIC_CLOCKEVENTS
        bool "Generic clock events"
        default y
+       select GENERIC_CLOCKEVENTS
 
 menu "Clock event device"
        depends on GENERIC_CLOCKEVENTS
@@ -629,10 +631,6 @@ config GPTMR0_CLOCKSOURCE
        depends on !TICKSOURCE_GPTMR0
 endmenu
 
-config ARCH_USES_GETTIMEOFFSET
-       depends on !GENERIC_CLOCKEVENTS
-       def_bool y
-
 source kernel/time/Kconfig
 
 comment "Misc"