Skip to content

Commit

Permalink
[SPARC64]: Support CONFIG_HZ
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 8, 2005
1 parent dcc83a0 commit a652481
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/sparc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ config SPARC64_PAGE_SIZE_4MB

endchoice

source kernel/Kconfig.hz

source "init/Kconfig"

config SYSVIPC_COMPAT
Expand Down
5 changes: 3 additions & 2 deletions include/asm-sparc64/param.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a652481

Please sign in to comment.