summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-20 17:56:58 +0300
committerMark Brown <broonie@kernel.org>2021-09-21 17:23:35 +0300
commitffb1e76f4f32d2b8ea4189df0484980370476395 (patch)
treec62376eab558809973dc5b71806df07c388bfc1a /include/linux/compiler.h
parent2bab94090b01bc593d8bc25f68df41f198721173 (diff)
parente4e737bb5c170df6135a127739a9e6148ee3da82 (diff)
downloadlinux-ffb1e76f4f32d2b8ea4189df0484980370476395.tar.xz
Merge tag 'v5.15-rc2' into spi-5.15
Linux 5.15-rc2
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) \