[SPARC64]: Support CONFIG_HZ

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2005-07-08 15:21:51 -07:00
parent dcc83a0285
commit a6524813e0
2 changed files with 5 additions and 2 deletions

View file

@ -43,6 +43,8 @@ config SPARC64_PAGE_SIZE_4MB
endchoice
source kernel/Kconfig.hz
source "init/Kconfig"
config SYSVIPC_COMPAT

View file

@ -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