From owner-svn-src-head@FreeBSD.ORG Tue Dec 7 23:19:49 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9ABA106566C; Tue, 7 Dec 2010 23:19:49 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AA44E8FC1D; Tue, 7 Dec 2010 23:19:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oB7NJnHc083229; Tue, 7 Dec 2010 23:19:49 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oB7NJnbq083226; Tue, 7 Dec 2010 23:19:49 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201012072319.oB7NJnbq083226@svn.freebsd.org> From: Jung-uk Kim Date: Tue, 7 Dec 2010 23:19:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216279 - in head/sys/i386: i386 include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 23:19:49 -0000 Author: jkim Date: Tue Dec 7 23:19:49 2010 New Revision: 216279 URL: http://svn.freebsd.org/changeset/base/216279 Log: Use int for 'tsc_present' instead of u_int. It is just a boolean. Modified: head/sys/i386/i386/tsc.c head/sys/i386/include/cpu.h Modified: head/sys/i386/i386/tsc.c ============================================================================== --- head/sys/i386/i386/tsc.c Tue Dec 7 23:14:00 2010 (r216278) +++ head/sys/i386/i386/tsc.c Tue Dec 7 23:19:49 2010 (r216279) @@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$"); uint64_t tsc_freq; int tsc_is_broken; int tsc_is_invariant; -u_int tsc_present; +int tsc_present; static eventhandler_tag tsc_levels_tag, tsc_pre_tag, tsc_post_tag; SYSCTL_INT(_kern_timecounter, OID_AUTO, invariant_tsc, CTLFLAG_RDTUN, Modified: head/sys/i386/include/cpu.h ============================================================================== --- head/sys/i386/include/cpu.h Tue Dec 7 23:14:00 2010 (r216278) +++ head/sys/i386/include/cpu.h Tue Dec 7 23:19:49 2010 (r216279) @@ -56,7 +56,7 @@ #ifdef _KERNEL extern char btext[]; extern char etext[]; -extern u_int tsc_present; +extern int tsc_present; void cpu_halt(void); void cpu_reset(void);