summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/hwpmc_mod.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-04-30 22:34:44 +0000
committerattilio <attilio@FreeBSD.org>2011-04-30 22:34:44 +0000
commit3fcaa270bf26cf5b7b13f23688accabede67dd29 (patch)
tree4c3bf1b1b6c137ab9f84bfcfd17a36db39759f5f /sys/dev/hwpmc/hwpmc_mod.c
parent5d1f479a00fe7df60e46d8e0d48b5e50f09e026b (diff)
downloadFreeBSD-src-3fcaa270bf26cf5b7b13f23688accabede67dd29.zip
FreeBSD-src-3fcaa270bf26cf5b7b13f23688accabede67dd29.tar.gz
Fix a typo/error.
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_mod.c')
-rw-r--r--sys/dev/hwpmc/hwpmc_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c
index 55ed262..d6225d8 100644
--- a/sys/dev/hwpmc/hwpmc_mod.c
+++ b/sys/dev/hwpmc/hwpmc_mod.c
@@ -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);
OpenPOWER on IntegriCloud