[patch 05/24] blackfin: Use generic time config

Anna-Maria Gleixner
2012-05-18T17:18:07Z

[-- Attachment #1: blackfin-use-generic-time-config.patch --]
[-- Type: text/plain, Size: 1123 bytes --]

Use seperate selector for clockevents.

Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de>
Cc: Mike Frysinger <vapier@gentoo.org>
---
arch/blackfin/Kconfig | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)

Index: linux/arch/blackfin/Kconfig
===================================================================
--- linux.orig/arch/blackfin/Kconfig
+++ linux/arch/blackfin/Kconfig
@@ -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"