diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-06 11:33:43 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-06 11:33:43 +0000 |
| commit | 0c7d0f9639ed7bc934a0898fedc8af4b6cd2fb67 (patch) | |
| tree | a3afde848b84f647dfeaef79047f200d14da1a01 /sys/kern/subr_param.c | |
| parent | a7f06e2bd4b106dc354725c162c9851d286ebb0a (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
| -rw-r--r-- | sys/kern/subr_param.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 7468c897fca8..98cc134b9f81 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -51,10 +51,12 @@ __FBSDID("$FreeBSD$"); */ #ifndef HZ -#ifdef __amd64__ -#define HZ 1024 -#else -#define HZ 100 +# if defined(__amd64__) +# define HZ 1024 +# elif defined(__i386__) +# define HZ 1000 +# else +# define HZ 100 #endif #endif #define NPROC (20 + 16 * maxusers) |
