diff options
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index ee7239ea1583..0300c0f5c88b 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -374,7 +374,9 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); | |||
374 | /* Ignore/forbid kprobes attach on very low level functions marked by this attribute: */ | 374 | /* Ignore/forbid kprobes attach on very low level functions marked by this attribute: */ |
375 | #ifdef CONFIG_KPROBES | 375 | #ifdef CONFIG_KPROBES |
376 | # define __kprobes __attribute__((__section__(".kprobes.text"))) | 376 | # define __kprobes __attribute__((__section__(".kprobes.text"))) |
377 | # define nokprobe_inline __always_inline | ||
377 | #else | 378 | #else |
378 | # define __kprobes | 379 | # define __kprobes |
380 | # define nokprobe_inline inline | ||
379 | #endif | 381 | #endif |
380 | #endif /* __LINUX_COMPILER_H */ | 382 | #endif /* __LINUX_COMPILER_H */ |