summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-19 22:52:02 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-19 22:56:59 -0400
commit2252eecec7e072dfdc66cfea6da0ee6ed648a858 (patch)
tree7c04fb667decc377f98fb7cdd963faaed523a9f3 /include
parent6a34032417d9bb90ead6f3b7bf891347bc4a1ed3 (diff)
Update bcachefs sources to 24bdb6fed91c bcachefs: bch2_btree_id_str()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include')
-rw-r--r--include/linux/compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 61beee94..57786906 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -66,7 +66,10 @@
#define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
#define fallthrough __attribute__((__fallthrough__))
#define __noreturn __attribute__((__noreturn__))
+
+#ifndef __counted_by
#define __counted_by(nr)
+#endif
#define ___PASTE(a,b) a##b
#define __PASTE(a,b) ___PASTE(a,b)