From 47d846827e398af12d79e9fc4593337b9e931cab Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 10 Sep 2013 23:47:55 +0100 Subject: ARM: fix forced-HZ values Olof Johansson reports that the tests against HZ_FIXED seem non-functional. Fix this by using '0' as a sentinel for "not specified" and test against that instead. Reported-by: Olof Johansson Signed-off-by: Russell King --- arch/arm/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'arch/arm') diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a00f4c1c7d71..026b1217d3b9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1618,9 +1618,10 @@ config HZ_FIXED ARCH_S5PV210 || ARCH_EXYNOS4 default AT91_TIMER_HZ if ARCH_AT91 default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE + default 0 choice - depends on !HZ_FIXED + depends on HZ_FIXED = 0 prompt "Timer frequency" config HZ_100 @@ -1645,7 +1646,7 @@ endchoice config HZ int - default HZ_FIXED if HZ_FIXED + default HZ_FIXED if HZ_FIXED != 0 default 100 if HZ_100 default 200 if HZ_200 default 250 if HZ_250 -- cgit v1.2.3-70-g09d2