From: Paul Mundt Date: Mon, 9 Apr 2007 22:38:10 +0000 (+0900) Subject: sh: Obey CONFIG_HZ for HZ definition. X-Git-Tag: v2.6.22-rc1~825^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd12666278daa0008ac439603c8d3037bc213556;p=linux-2.6 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 --- diff --git a/include/asm-sh/param.h b/include/asm-sh/param.h index ce13064fec..1012296e07 100644 --- a/include/asm-sh/param.h +++ b/include/asm-sh/param.h @@ -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 */