Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2010 23:19:49 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216279 - in head/sys/i386: i386 include
Message-ID:  <201012072319.oB7NJnbq083226@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012072319.oB7NJnbq083226>