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 7c0157d50964..ec4a28bad2c6 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 __attribute__((__aligned__(4))) \ 26 __attribute__((__aligned__(4))) \
27 __attribute__((section("_ftrace_annotated_branch"))) \ 27 __attribute__((__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 int ______r; \ 60 int ______r; \
61 static struct ftrace_branch_data \ 61 static struct ftrace_branch_data \
62 __attribute__((__aligned__(4))) \ 62 __attribute__((__aligned__(4))) \
63 __attribute__((section("_ftrace_branch"))) \ 63 __attribute__((__section__("_ftrace_branch"))) \
64 ______f = { \ 64 ______f = { \
65 .func = __func__, \ 65 .func = __func__, \
66 .file = __FILE__, \ 66 .file = __FILE__, \
@@ -146,7 +146,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
146 extern typeof(sym) sym; \ 146 extern typeof(sym) sym; \
147 static const unsigned long __kentry_##sym \ 147 static const unsigned long __kentry_##sym \
148 __used \ 148 __used \
149 __attribute__((section("___kentry" "+" #sym ), used)) \ 149 __attribute__((__section__("___kentry" "+" #sym ), used)) \
150 = (unsigned long)&sym; 150 = (unsigned long)&sym;
151#endif 151#endif
152 152
@@ -287,7 +287,7 @@ unsigned long read_word_at_a_time(const void *addr)
287 * visible to the compiler. 287 * visible to the compiler.
288 */ 288 */
289#define __ADDRESSABLE(sym) \ 289#define __ADDRESSABLE(sym) \
290 static void * __attribute__((section(".discard.addressable"), used)) \ 290 static void * __attribute__((__section__(".discard.addressable"), used)) \
291 __PASTE(__addressable_##sym, __LINE__) = (void *)&sym; 291 __PASTE(__addressable_##sym, __LINE__) = (void *)&sym;
292 292
293/** 293/**