svn commit: r209492 - head/sys/kern
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Jun 24 00:27:20 UTC 2010
Author: nwhitehorn
Date: Thu Jun 24 00:27:20 2010
New Revision: 209492
URL: http://svn.freebsd.org/changeset/base/209492
Log:
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
Modified:
head/sys/kern/subr_param.c
Modified: head/sys/kern/subr_param.c
==============================================================================
--- head/sys/kern/subr_param.c Wed Jun 23 23:34:56 2010 (r209491)
+++ head/sys/kern/subr_param.c Thu Jun 24 00:27:20 2010 (r209492)
@@ -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
More information about the svn-src-head
mailing list