aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r--include/linux/compiler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index f0fd5636fddb..5e88e7e33abe 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -24,7 +24,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
24 long ______r; \ 24 long ______r; \
25 static struct ftrace_likely_data \ 25 static struct ftrace_likely_data \
26 __aligned(4) \ 26 __aligned(4) \
27 __section("_ftrace_annotated_branch") \ 27 __section(_ftrace_annotated_branch) \
28 ______f = { \ 28 ______f = { \
29 .data.func = __func__, \ 29 .data.func = __func__, \
30 .data.file = __FILE__, \ 30 .data.file = __FILE__, \
@@ -60,7 +60,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
60#define __trace_if_value(cond) ({ \ 60#define __trace_if_value(cond) ({ \
61 static struct ftrace_branch_data \ 61 static struct ftrace_branch_data \
62 __aligned(4) \ 62 __aligned(4) \
63 __section("_ftrace_branch") \ 63 __section(_ftrace_branch) \
64 __if_trace = { \ 64 __if_trace = { \
65 .func = __func__, \ 65 .func = __func__, \
66 .file = __FILE__, \ 66 .file = __FILE__, \
@@ -118,7 +118,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
118 ".popsection\n\t" 118 ".popsection\n\t"
119 119
120/* Annotate a C jump table to allow objtool to follow the code flow */ 120/* Annotate a C jump table to allow objtool to follow the code flow */
121#define __annotate_jump_table __section(".rodata..c_jump_table") 121#define __annotate_jump_table __section(.rodata..c_jump_table)
122 122
123#else 123#else
124#define annotate_reachable() 124#define annotate_reachable()
@@ -298,7 +298,7 @@ unsigned long read_word_at_a_time(const void *addr)
298 * visible to the compiler. 298 * visible to the compiler.
299 */ 299 */
300#define __ADDRESSABLE(sym) \ 300#define __ADDRESSABLE(sym) \
301 static void * __section(".discard.addressable") __used \ 301 static void * __section(.discard.addressable) __used \
302 __PASTE(__addressable_##sym, __LINE__) = (void *)&sym; 302 __PASTE(__addressable_##sym, __LINE__) = (void *)&sym;
303 303
304/** 304/**