summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-06-24 00:27:20 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-06-24 00:27:20 +0000
commitecf1995ac74b37fa9daeeaaa7a0c9902987ba438 (patch)
tree5958e6f3a5740cc8dd8252f7e46372a416cbe034 /sys/kern/subr_param.c
parent7f59380a7f4fe3a9b57d170216ad2741f34d58bb (diff)
downloadFreeBSD-src-ecf1995ac74b37fa9daeeaaa7a0c9902987ba438.zip
FreeBSD-src-ecf1995ac74b37fa9daeeaaa7a0c9902987ba438.tar.gz
Reverse the logic of the if statement that sets the default value of
HZ; the list of 1000 Hz platforms was getting unwieldy. Suggested by: marcel
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 789d4a1..9fbbe94 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -53,10 +53,10 @@ __FBSDID("$FreeBSD$");
*/
#ifndef HZ
-# if defined(__amd64__) || defined(__i386__) || defined(__ia64__) || defined(__sparc64__) || defined(__powerpc__)
-# define HZ 1000
-# else
+# if defined(__mips__) || defined(__arm__)
# define HZ 100
+# else
+# define HZ 1000
# endif
# ifndef HZ_VM
# define HZ_VM 100
OpenPOWER on IntegriCloud