Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 12:08:18 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r242861 - stable/8/sys/dev/cpuctl
Message-ID:  <201211101208.qAAC8IqE003169@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Sat Nov 10 12:08:18 2012
New Revision: 242861
URL: http://svnweb.freebsd.org/changeset/base/242861

Log:
  MFC r242565: cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call

Modified:
  stable/8/sys/dev/cpuctl/cpuctl.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/cpuctl/   (props changed)

Modified: stable/8/sys/dev/cpuctl/cpuctl.c
==============================================================================
--- stable/8/sys/dev/cpuctl/cpuctl.c	Sat Nov 10 12:08:06 2012	(r242860)
+++ stable/8/sys/dev/cpuctl/cpuctl.c	Sat Nov 10 12:08:18 2012	(r242861)
@@ -204,7 +204,7 @@ cpuctl_do_cpuid(int cpu, cpuctl_cpuid_ar
 	oldcpu = td->td_oncpu;
 	is_bound = cpu_sched_is_bound(td);
 	set_cpu(cpu, td);
-	do_cpuid(data->level, data->data);
+	cpuid_count(data->level, 0, data->data);
 	restore_cpu(oldcpu, is_bound, td);
 	return (0);
 }



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