aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r--include/linux/compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 04fb5135b4e..8e54108688f 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -266,6 +266,10 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect);
266# define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) 266# define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
267#endif 267#endif
268 268
269/* Compile time object size, -1 for unknown */
270#ifndef __compiletime_object_size
271# define __compiletime_object_size(obj) -1
272#endif
269/* 273/*
270 * Prevent the compiler from merging or refetching accesses. The compiler 274 * Prevent the compiler from merging or refetching accesses. The compiler
271 * is also forbidden from reordering successive instances of ACCESS_ONCE(), 275 * is also forbidden from reordering successive instances of ACCESS_ONCE(),