Commit a6524813 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Support CONFIG_HZ

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dcc83a02
...@@ -43,6 +43,8 @@ config SPARC64_PAGE_SIZE_4MB ...@@ -43,6 +43,8 @@ config SPARC64_PAGE_SIZE_4MB
endchoice endchoice
source kernel/Kconfig.hz
source "init/Kconfig" source "init/Kconfig"
config SYSVIPC_COMPAT config SYSVIPC_COMPAT
......
/* $Id: param.h,v 1.2 2000/10/30 21:01:41 davem Exp $ */
#ifndef _ASMSPARC64_PARAM_H #ifndef _ASMSPARC64_PARAM_H
#define _ASMSPARC64_PARAM_H #define _ASMSPARC64_PARAM_H
#include <linux/config.h>
#ifdef __KERNEL__ #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 USER_HZ 100 /* .. some user interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) # define CLOCKS_PER_SEC (USER_HZ)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment