]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - include/linux/compiler.h
New upstream release
[bcachefs-tools-debian] / include / linux / compiler.h
index 39df1f16ffc0250cce32a425f11125190299d886..577869062fe27a5602047375c4e297aeb529c710 100644 (file)
 #define unreachable()          __builtin_unreachable()
 #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)