aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/smr.h
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2020-02-07 00:47:58 +0000
committerRyan Libby <rlibby@FreeBSD.org>2020-02-07 00:47:58 +0000
commita2abae8dc92a5778b3405cfbc1f20eaf7a067074 (patch)
tree227b389c376ebb61e5b5d5a8b08321e1faab0bb4 /sys/sys/smr.h
parentf5a7e78d32681503919519f13bae92bbd2db7eb2 (diff)
downloadsrc-a2abae8dc92a5778b3405cfbc1f20eaf7a067074.tar.gz
src-a2abae8dc92a5778b3405cfbc1f20eaf7a067074.zip
smr.h: fix build after r357641
r357641 missed committing the change to sys/sys/smr.h. Reported by: jkim Submitted by: jeff Reviewed by: rlibby Differential Revision: https://reviews.freebsd.org/D23464
Notes
Notes: svn path=/head/; revision=357644
Diffstat (limited to 'sys/sys/smr.h')
-rw-r--r--sys/sys/smr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/smr.h b/sys/sys/smr.h
index 0bd3d5ac77b5..d00f6239b884 100644
--- a/sys/sys/smr.h
+++ b/sys/sys/smr.h
@@ -49,6 +49,7 @@
#define SMR_SEQ_LEQ(a, b) ((int32_t)((a)-(b)) <= 0)
#define SMR_SEQ_GT(a, b) ((int32_t)((a)-(b)) > 0)
#define SMR_SEQ_GEQ(a, b) ((int32_t)((a)-(b)) >= 0)
+#define SMR_SEQ_DELTA(a, b) ((int32_t)((a)-(b)))
#define SMR_SEQ_INVALID 0