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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to