Commit e118adef authored by Pavel Machek's avatar Pavel Machek Committed by Ingo Molnar

timers: don't #error on higher HZ values

For some crazy reason (trying to work around hw problem in i810) I wanted
to use HZ around 4000.
Signed-off-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent cc203d24
...@@ -29,6 +29,12 @@ ...@@ -29,6 +29,12 @@
# define SHIFT_HZ 9 # define SHIFT_HZ 9
#elif HZ >= 768 && HZ < 1536 #elif HZ >= 768 && HZ < 1536
# define SHIFT_HZ 10 # define SHIFT_HZ 10
#elif HZ >= 1536 && HZ < 3072
# define SHIFT_HZ 11
#elif HZ >= 3072 && HZ < 6144
# define SHIFT_HZ 12
#elif HZ >= 6144 && HZ < 12288
# define SHIFT_HZ 13
#else #else
# error You lose. # error You lose.
#endif #endif
......
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