svn commit: r209490 - head/sys/kern

Marcel Moolenaar xcllnt at mac.com
Wed Jun 23 23:32:30 UTC 2010


On Jun 23, 2010, at 4:26 PM, Nathan Whitehorn wrote:

> @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
>  */
> 
> #ifndef HZ
> -#  if defined(__amd64__) || defined(__i386__) || defined(__ia64__) || defined(__sparc64__)
> +#  if defined(__amd64__) || defined(__i386__) || defined(__ia64__) || defined(__sparc64__) || defined(__powerpc__)
> #    define	HZ 1000
> #  else
> #    define	HZ 100

Would you mind inverting the #if statement? The common case is
obviously 1KHz, so listing the exceptions (I belief that's only
arm and mips) is more effective...

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the svn-src-all mailing list