tree 4af95ee9310bb7f13de0272b21fec593f9da3b9b
parent dcc83a028552ac34538db52d82446d1da6ea8c22
author David S. Miller <[EMAIL PROTECTED]> Sat, 09 Jul 2005 05:21:51 -0700
committer David S. Miller <[EMAIL PROTECTED]> Sat, 09 Jul 2005 05:21:51 -0700

[SPARC64]: Support CONFIG_HZ

Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 arch/sparc64/Kconfig        |    2 ++
 include/asm-sparc64/param.h |    5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig
--- a/arch/sparc64/Kconfig
+++ b/arch/sparc64/Kconfig
@@ -43,6 +43,8 @@ config SPARC64_PAGE_SIZE_4MB
 
 endchoice
 
+source kernel/Kconfig.hz
+
 source "init/Kconfig"
 
 config SYSVIPC_COMPAT
diff --git a/include/asm-sparc64/param.h b/include/asm-sparc64/param.h
--- a/include/asm-sparc64/param.h
+++ b/include/asm-sparc64/param.h
@@ -1,9 +1,10 @@
-/* $Id: param.h,v 1.2 2000/10/30 21:01:41 davem Exp $ */
 #ifndef _ASMSPARC64_PARAM_H
 #define _ASMSPARC64_PARAM_H
 
+#include <linux/config.h>
+
 #ifdef __KERNEL__
-# define HZ            1000    /* Internal kernel timer frequency */
+# define HZ            CONFIG_HZ       /* Internal kernel timer frequency */
 # define USER_HZ       100     /* .. some user interfaces are in "ticks" */
 # define CLOCKS_PER_SEC (USER_HZ)
 #endif
-
To unsubscribe from this list: send the line "unsubscribe bk-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