Date: Thu, 11 Nov 2010 17:30:50 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r215131 - head/sys/x86/cpufreq Message-ID: <201011111730.oABHUoS7078513@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Thu Nov 11 17:30:49 2010 New Revision: 215131 URL: http://svn.freebsd.org/changeset/base/215131 Log: make it possible to actually enable hwpstate_verbose Either via the tunable or the sysctl. MFC after: 3 days Modified: head/sys/x86/cpufreq/hwpstate.c Modified: head/sys/x86/cpufreq/hwpstate.c ============================================================================== --- head/sys/x86/cpufreq/hwpstate.c Thu Nov 11 17:08:34 2010 (r215130) +++ head/sys/x86/cpufreq/hwpstate.c Thu Nov 11 17:30:49 2010 (r215131) @@ -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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011111730.oABHUoS7078513>