]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
sh: Obey CONFIG_HZ for HZ definition.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 9 Apr 2007 22:38:10 +0000 (07:38 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Mon, 7 May 2007 02:11:56 +0000 (02:11 +0000)
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>
include/asm-sh/param.h

index ce13064fec21e5d360e94f28be187c96177e93a3..1012296e07abccb5afe6ed25a978b1a17ae17e00 100644 (file)
@@ -5,7 +5,7 @@
 # ifdef CONFIG_SH_WDT
 #  define HZ           1000            /* Needed for high-res WOVF */
 # else
-#  define HZ           100
+#  define HZ           CONFIG_HZ
 # endif
 # define USER_HZ       100             /* User interfaces are in "ticks" */
 # define CLOCKS_PER_SEC        (USER_HZ)       /* frequency at which times() counts */