aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-11-07 04:32:44 -0500
committerIngo Molnar <mingo@kernel.org>2017-11-07 04:32:44 -0500
commit8c5db92a705d9e2c986adec475980d1120fa07b4 (patch)
tree9f0eea56889819707c0a1a8eb5b1fb2db3cdaf3d /include/linux/compiler.h
parentca5d376e17072c1b60c3fee66f3be58ef018952d (diff)
parente4880bc5dfb1f02b152e62a894b5c6f3e995b3cf (diff)
Merge branch 'linus' into locking/core, to resolve conflicts
Conflicts: include/linux/compiler-clang.h include/linux/compiler-gcc.h include/linux/compiler-intel.h include/uapi/linux/stddef.h 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 5a1cab48442c..3672353a0acd 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
@@ -91,13 +92,13 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
91 asm("%c0:\n\t" \ 92 asm("%c0:\n\t" \
92 ".pushsection .discard.reachable\n\t" \ 93 ".pushsection .discard.reachable\n\t" \
93 ".long %c0b - .\n\t" \ 94 ".long %c0b - .\n\t" \
94 ".popsection\n\t" : : "i" (__LINE__)); \ 95 ".popsection\n\t" : : "i" (__COUNTER__)); \
95}) 96})
96#define annotate_unreachable() ({ \ 97#define annotate_unreachable() ({ \
97 asm("%c0:\n\t" \ 98 asm("%c0:\n\t" \
98 ".pushsection .discard.unreachable\n\t" \ 99 ".pushsection .discard.unreachable\n\t" \
99 ".long %c0b - .\n\t" \ 100 ".long %c0b - .\n\t" \
100 ".popsection\n\t" : : "i" (__LINE__)); \ 101 ".popsection\n\t" : : "i" (__COUNTER__)); \
101}) 102})
102#define ASM_UNREACHABLE \ 103#define ASM_UNREACHABLE \
103 "999:\n\t" \ 104 "999:\n\t" \