svn commit: r215337 - stable/8/sys/x86/cpufreq

Andriy Gapon avg at FreeBSD.org
Mon Nov 15 09:41:47 UTC 2010


Author: avg
Date: Mon Nov 15 09:41:46 2010
New Revision: 215337
URL: http://svn.freebsd.org/changeset/base/215337

Log:
  MFC r215131: make it possible to actually enable hwpstate_verbose

Modified:
  stable/8/sys/x86/cpufreq/hwpstate.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/x86/cpufreq/hwpstate.c
==============================================================================
--- stable/8/sys/x86/cpufreq/hwpstate.c	Mon Nov 15 07:33:54 2010	(r215336)
+++ stable/8/sys/x86/cpufreq/hwpstate.c	Mon Nov 15 09:41:46 2010	(r215337)
@@ -118,8 +118,9 @@ static int	hwpstate_get_info_from_msr(de
 static int	hwpstate_goto_pstate(device_t dev, int pstate_id);
 
 static int	hwpstate_verbose = 0;
-SYSCTL_INT(_debug, OID_AUTO, hwpstate_verbose, CTLFLAG_RDTUN,
+SYSCTL_INT(_debug, OID_AUTO, hwpstate_verbose, CTLFLAG_RW | CTLFLAG_TUN,
        &hwpstate_verbose, 0, "Debug hwpstate");
+TUNABLE_INT("debug.hwpstate_verbose", &hwpstate_verbose);
 
 static device_method_t hwpstate_methods[] = {
 	/* Device interface */


More information about the svn-src-stable mailing list