svn commit: r209490 - head/sys/kern

M. Warner Losh imp at bsdimp.com
Thu Jun 24 02:31:23 UTC 2010


In message: <3659E546-80A0-4E82-8112-40B093728D81 at mac.com>
            Marcel Moolenaar <xcllnt at mac.com> writes:
: 
: 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...

Shouldn't this be defined in some file in ARCH/include instead?

Warner


More information about the svn-src-head mailing list