summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@kernel.org>2021-10-11 08:15:48 +0200
committerWolfram Sang <wsa@kernel.org>2021-10-11 08:15:48 +0200
commitc5c34f5793f384ed2895584c6e2350b059c3f161 (patch)
tree14a73568207fb3d38d7aa43439493ac8bc906bde /include/linux/compiler.h
parent669b2e4aa1a869def4dc207ea084fdd77366d646 (diff)
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff)
Merge branch 'i2c/for-current' into i2c/for-mergewindow
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 b67261a1e3e9..3d5af56337bd 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -188,6 +188,8 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
(typeof(ptr)) (__ptr + (off)); })
#endif
+#define absolute_pointer(val) RELOC_HIDE((void *)(val), 0)
+
#ifndef OPTIMIZER_HIDE_VAR
/* Make the optimizer believe the variable can be manipulated arbitrarily. */
#define OPTIMIZER_HIDE_VAR(var) \