From owner-svn-src-all@FreeBSD.ORG Thu Jun 24 00:36:41 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CCEC1065670; Thu, 24 Jun 2010 00:36:41 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout028.mac.com (asmtpout028.mac.com [17.148.16.103]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB8F8FC18; Thu, 24 Jun 2010 00:36:41 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [10.121.220.84] (166-205-136-165.mobile.mymmode.com [166.205.136.165]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L4H00IM7TOVC170@asmtp028.mac.com>; Wed, 23 Jun 2010 17:36:41 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006230163 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-23_03:2010-02-06, 2010-06-23, 2010-06-23 signatures=0 References: <201006240027.o5O0RKUV025284@svn.freebsd.org> In-reply-to: <201006240027.o5O0RKUV025284@svn.freebsd.org> Message-id: <64872A96-3C99-4060-AE99-A5E775AFA2D7@mac.com> X-Mailer: iPhone Mail (8A293) From: Marcel Moolenaar Date: Wed, 23 Jun 2010 17:36:24 -0700 To: Nathan Whitehorn Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" Subject: Re: svn commit: r209492 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 00:36:41 -0000 Thanks! It's appreciated. -- Marcel (Mobile) On Jun 23, 2010, at 5:27 PM, Nathan Whitehorn 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