Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=dd12666278daa0008ac439603c8d3037bc213556
Commit:     dd12666278daa0008ac439603c8d3037bc213556
Parent:     760bcb1deec13c50e20399c84cb6a8ea41cc2820
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue Apr 10 07:38:10 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon May 7 02:11:56 2007 +0000

    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 <[EMAIL PROTECTED]>
---
 include/asm-sh/param.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-sh/param.h b/include/asm-sh/param.h
index ce13064..1012296 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to