aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-11-08 04:17:15 -0500
committerIngo Molnar <mingo@kernel.org>2017-11-08 04:17:15 -0500
commit8a103df440afea30c91ebd42e61dc644e647f4bd (patch)
tree2cfa99e9c6e1e138e1404bce4294e46cb0034cce /include/linux/compiler.h
parenta9903f04e0a4ea522d959c2f287cdf0ab029e324 (diff)
parentfbc3edf7d7731d7a22c483c679700589bab936a3 (diff)
Merge branch 'linus' into sched/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r--include/linux/compiler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index e95a2631e545..202710420d6d 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1#ifndef __LINUX_COMPILER_H 2#ifndef __LINUX_COMPILER_H
2#define __LINUX_COMPILER_H 3#define __LINUX_COMPILER_H
3 4
@@ -190,13 +191,13 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
190 asm("%c0:\n\t" \ 191 asm("%c0:\n\t" \
191 ".pushsection .discard.reachable\n\t" \ 192 ".pushsection .discard.reachable\n\t" \
192 ".long %c0b - .\n\t" \ 193 ".long %c0b - .\n\t" \
193 ".popsection\n\t" : : "i" (__LINE__)); \ 194 ".popsection\n\t" : : "i" (__COUNTER__)); \
194}) 195})
195#define annotate_unreachable() ({ \ 196#define annotate_unreachable() ({ \
196 asm("%c0:\n\t" \ 197 asm("%c0:\n\t" \
197 ".pushsection .discard.unreachable\n\t" \ 198 ".pushsection .discard.unreachable\n\t" \
198 ".long %c0b - .\n\t" \ 199 ".long %c0b - .\n\t" \
199 ".popsection\n\t" : : "i" (__LINE__)); \ 200 ".popsection\n\t" : : "i" (__COUNTER__)); \
200}) 201})
201#define ASM_UNREACHABLE \ 202#define ASM_UNREACHABLE \
202 "999:\n\t" \ 203 "999:\n\t" \