summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-06 16:16:32 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-13 21:10:24 -0400
commit844721635c1c8e7e43fb546052a659bfc92ed99d (patch)
tree5007b56b87df050e6b5a05a3049826680705b0ed /include/linux/compiler.h
parentad3875d1d9907bab0430c45ffa3b2dd39107106b (diff)
Update bcachefs sources to 2f9361370129 bcachefs: Improve opts.degraded
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r--include/linux/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 451c323d..228cd373 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -188,4 +188,6 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s
#define is_signed_type(type) (((type)(-1)) < (__force type)1)
#define is_unsigned_type(type) (!is_signed_type(type))
+#define TYPEOF_UNQUAL(exp) __typeof__(exp)
+
#endif /* _TOOLS_LINUX_COMPILER_H */