File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22#ifndef __LINUX_INSTRUMENTATION_H
33#define __LINUX_INSTRUMENTATION_H
44
5- #ifdef CONFIG_VMLINUX_VALIDATION
5+ #ifdef CONFIG_NOINSTR_VALIDATION
66
77#include <linux/stringify.h>
88
5353 ".popsection\n\t" : : "i" (c)); \
5454})
5555#define instrumentation_end () __instrumentation_end(__COUNTER__)
56- #else /* !CONFIG_VMLINUX_VALIDATION */
56+ #else /* !CONFIG_NOINSTR_VALIDATION */
5757# define instrumentation_begin () do { } while(0)
5858# define instrumentation_end () do { } while(0)
59- #endif /* CONFIG_VMLINUX_VALIDATION */
59+ #endif /* CONFIG_NOINSTR_VALIDATION */
6060
6161#endif /* __LINUX_INSTRUMENTATION_H */
Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ config STACK_VALIDATION
500500 For more information, see
501501 tools/objtool/Documentation/stack-validation.txt.
502502
503- config VMLINUX_VALIDATION
503+ config NOINSTR_VALIDATION
504504 bool
505505 depends on HAVE_OBJTOOL && DEBUG_ENTRY
506506 select OBJTOOL
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ objtool_link()
160160 objtoolopt=" ${objtoolopt} --lto"
161161 fi
162162
163- if is_enabled CONFIG_VMLINUX_VALIDATION ; then
163+ if is_enabled CONFIG_NOINSTR_VALIDATION ; then
164164 objtoolopt=" ${objtoolopt} --noinstr"
165165 fi
166166
You can’t perform that action at this time.
0 commit comments