Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

x86/kprobes: Remove STACK_FRAME_NON_STANDARD annotation

Since commit 877b145f0f47 ("x86/kprobes: Move trampoline code into
RODATA"), the optprobe template code is no longer analyzed by objtool so
it doesn't need to be ignored.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

-4
-4
arch/x86/kernel/kprobes/opt.c
··· 103 103 104 104 asm ( 105 105 ".pushsection .rodata\n" 106 - "optprobe_template_func:\n" 107 106 ".global optprobe_template_entry\n" 108 107 "optprobe_template_entry:\n" 109 108 #ifdef CONFIG_X86_64 ··· 158 159 ".global optprobe_template_end\n" 159 160 "optprobe_template_end:\n" 160 161 ".popsection\n"); 161 - 162 - void optprobe_template_func(void); 163 - STACK_FRAME_NON_STANDARD(optprobe_template_func); 164 162 165 163 #define TMPL_CLAC_IDX \ 166 164 ((long)optprobe_template_clac - (long)optprobe_template_entry)