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, 0 insertions, 8 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 91c30cba984e..b2eb9c0a68c4 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -570,12 +570,4 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s
570 (_________p1); \ 570 (_________p1); \
571}) 571})
572 572
573/* Ignore/forbid kprobes attach on very low level functions marked by this attribute: */
574#ifdef CONFIG_KPROBES
575# define __kprobes __attribute__((__section__(".kprobes.text")))
576# define nokprobe_inline __always_inline
577#else
578# define __kprobes
579# define nokprobe_inline inline
580#endif
581#endif /* __LINUX_COMPILER_H */ 573#endif /* __LINUX_COMPILER_H */