Date: Wed, 23 Jun 2010 17:36:24 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Nathan Whitehorn <nwhitehorn@FreeBSD.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r209492 - head/sys/kern Message-ID: <64872A96-3C99-4060-AE99-A5E775AFA2D7@mac.com> In-Reply-To: <201006240027.o5O0RKUV025284@svn.freebsd.org> References: <201006240027.o5O0RKUV025284@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! It's appreciated. -- Marcel (Mobile) On Jun 23, 2010, at 5:27 PM, Nathan Whitehorn <nwhitehorn@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64872A96-3C99-4060-AE99-A5E775AFA2D7>