Commit 47d84682 authored by Russell King's avatar Russell King

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: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 9319206d
...@@ -1618,9 +1618,10 @@ config HZ_FIXED ...@@ -1618,9 +1618,10 @@ config HZ_FIXED
ARCH_S5PV210 || ARCH_EXYNOS4 ARCH_S5PV210 || ARCH_EXYNOS4
default AT91_TIMER_HZ if ARCH_AT91 default AT91_TIMER_HZ if ARCH_AT91
default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
default 0
choice choice
depends on !HZ_FIXED depends on HZ_FIXED = 0
prompt "Timer frequency" prompt "Timer frequency"
config HZ_100 config HZ_100
...@@ -1645,7 +1646,7 @@ endchoice ...@@ -1645,7 +1646,7 @@ endchoice
config HZ config HZ
int int
default HZ_FIXED if HZ_FIXED default HZ_FIXED if HZ_FIXED != 0
default 100 if HZ_100 default 100 if HZ_100
default 200 if HZ_200 default 200 if HZ_200
default 250 if HZ_250 default 250 if HZ_250
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment