diff options
author | David S. Miller <davem@davemloft.net> | 2005-07-08 18:21:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-08 18:21:51 -0400 |
commit | a6524813e032fb33bd1de807a98f8453414335e4 (patch) | |
tree | 4af95ee9310bb7f13de0272b21fec593f9da3b9b /include/asm-sparc64 | |
parent | dcc83a028552ac34538db52d82446d1da6ea8c22 (diff) |
[SPARC64]: Support CONFIG_HZ
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/param.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-sparc64/param.h b/include/asm-sparc64/param.h index 6a12f3ac0359..a1cd4974630b 100644 --- a/include/asm-sparc64/param.h +++ b/include/asm-sparc64/param.h | |||
@@ -1,9 +1,10 @@ | |||
1 | /* $Id: param.h,v 1.2 2000/10/30 21:01:41 davem Exp $ */ | ||
2 | #ifndef _ASMSPARC64_PARAM_H | 1 | #ifndef _ASMSPARC64_PARAM_H |
3 | #define _ASMSPARC64_PARAM_H | 2 | #define _ASMSPARC64_PARAM_H |
4 | 3 | ||
4 | #include <linux/config.h> | ||
5 | |||
5 | #ifdef __KERNEL__ | 6 | #ifdef __KERNEL__ |
6 | # define HZ 1000 /* Internal kernel timer frequency */ | 7 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
7 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ | 8 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
8 | # define CLOCKS_PER_SEC (USER_HZ) | 9 | # define CLOCKS_PER_SEC (USER_HZ) |
9 | #endif | 10 | #endif |