svn commit: r221280 - projects/largeSMP/sys/dev/hwpmc

Attilio Rao attilio at FreeBSD.org
Sat Apr 30 22:34:44 UTC 2011


Author: attilio
Date: Sat Apr 30 22:34:44 2011
New Revision: 221280
URL: http://svn.freebsd.org/changeset/base/221280

Log:
  Fix a typo/error.

Modified:
  projects/largeSMP/sys/dev/hwpmc/hwpmc_mod.c

Modified: projects/largeSMP/sys/dev/hwpmc/hwpmc_mod.c
==============================================================================
--- projects/largeSMP/sys/dev/hwpmc/hwpmc_mod.c	Sat Apr 30 22:33:11 2011	(r221279)
+++ projects/largeSMP/sys/dev/hwpmc/hwpmc_mod.c	Sat Apr 30 22:34:44 2011	(r221280)
@@ -4782,7 +4782,7 @@ pmc_cleanup(void)
 	PMCDBG(MOD,INI,0, "%s", "cleanup");
 
 	/* switch off sampling */
-	atomic_store_int(&pmc_cpumask, 0);
+	pmc_cpumask = 0;
 	pmc_intr = NULL;
 
 	sx_xlock(&pmc_sx);


More information about the svn-src-projects mailing list