aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vmmeter.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2007-05-20 22:33:42 +0000
committerJeff Roberson <jeff@FreeBSD.org>2007-05-20 22:33:42 +0000
commit80b200da28a0457f50eda534ceb251e2a9a3b80f (patch)
treefd3da493cc2530716e40474fdd21d451f7c25380 /sys/sys/vmmeter.h
parent8b98fec903d081a47b1a2d2ebcfcc274f8f9dcdd (diff)
downloadsrc-80b200da28a0457f50eda534ceb251e2a9a3b80f.tar.gz
src-80b200da28a0457f50eda534ceb251e2a9a3b80f.zip
- rename VMCNT_DEC to VMCNT_SUB to reflect the count argument.
Suggested by: julian@ Contributed by: attilio@
Notes
Notes: svn path=/head/; revision=169805
Diffstat (limited to 'sys/sys/vmmeter.h')
-rw-r--r--sys/sys/vmmeter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index 375a2cedf3b2..7defd2d480b6 100644
--- a/sys/sys/vmmeter.h
+++ b/sys/sys/vmmeter.h
@@ -109,7 +109,7 @@ extern volatile struct vmmeter cnt;
atomic_store_rel_int(__CONCAT(&cnt.v_, member), val)
#define VMCNT_ADD(member, val) \
atomic_add_int(__CONCAT(&cnt.v_, member), val)
-#define VMCNT_DEC(member, val) \
+#define VMCNT_SUB(member, val) \
atomic_subtract_int(__CONCAT(&cnt.v_, member), val)
#define VMCNT_GET(member) (__CONCAT(cnt.v_, member))
#define VMCNT_PTR(member) \