diff options
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 627e697e5d25..f8110051188f 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -577,12 +577,4 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s | |||
577 | (_________p1); \ | 577 | (_________p1); \ |
578 | }) | 578 | }) |
579 | 579 | ||
580 | /* Ignore/forbid kprobes attach on very low level functions marked by this attribute: */ | ||
581 | #ifdef CONFIG_KPROBES | ||
582 | # define __kprobes __attribute__((__section__(".kprobes.text"))) | ||
583 | # define nokprobe_inline __always_inline | ||
584 | #else | ||
585 | # define __kprobes | ||
586 | # define nokprobe_inline inline | ||
587 | #endif | ||
588 | #endif /* __LINUX_COMPILER_H */ | 580 | #endif /* __LINUX_COMPILER_H */ |