summaryrefslogtreecommitdiffstats
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-21 15:23:50 +0100
committerMark Brown <broonie@kernel.org>2021-09-21 15:23:50 +0100
commit66ae258ccf400e5275b8cb4ecbfe7d25f2cb2e56 (patch)
tree386a7b596562b7dd99163e1c80255335711e7afc /include/linux/compiler.h
parent09134c5322df9f105d9ed324051872d5d0e162aa (diff)
parentffb1e76f4f32d2b8ea4189df0484980370476395 (diff)
downloadcachepc-linux-66ae258ccf400e5275b8cb4ecbfe7d25f2cb2e56.tar.gz
cachepc-linux-66ae258ccf400e5275b8cb4ecbfe7d25f2cb2e56.zip
Merge branch 'spi-5.15' into spi-5.16
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) \