/drivers/include/linux/compiler.h |
---|
351,4 → 351,10 |
*/ |
#define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) |
/* Ignore/forbid kprobes attach on very low level functions marked by this attribute: */ |
#ifdef CONFIG_KPROBES |
# define __kprobes __attribute__((__section__(".kprobes.text"))) |
#else |
# define __kprobes |
#endif |
#endif /* __LINUX_COMPILER_H */ |