Commit dd12666278daa0008ac439603c8d3037bc213556
Committed by
Paul Mundt
1 parent
760bcb1dee
Exists in
master
and in
7 other branches
sh: Obey CONFIG_HZ for HZ definition.
This wasn't being set before, so now it's set for when it makes sense. The shwdt case still requires HZ to be fixed at 1000 for the WOVF period, so this is still preserved. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/asm-sh/param.h
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | # ifdef CONFIG_SH_WDT |
6 | 6 | # define HZ 1000 /* Needed for high-res WOVF */ |
7 | 7 | # else |
8 | -# define HZ 100 | |
8 | +# define HZ CONFIG_HZ | |
9 | 9 | # endif |
10 | 10 | # define USER_HZ 100 /* User interfaces are in "ticks" */ |
11 | 11 | # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ |