svn commit: r209492 - head/sys/kern

Marcel Moolenaar xcllnt at mac.com
Thu Jun 24 00:36:41 UTC 2010


Thanks! It's appreciated.


-- 
Marcel (Mobile)

On Jun 23, 2010, at 5:27 PM, Nathan Whitehorn <nwhitehorn at FreeBSD.org> wrote:

> 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