]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Allow multiple pv_ops arrays
authorJuergen Gross <jgross@suse.com>
Mon, 5 Jan 2026 11:05:17 +0000 (12:05 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 13 Jan 2026 12:39:49 +0000 (13:39 +0100)
commitf88dc319fcb6d6a155e94469a355ce456dd85441
tree4c343c70fe72081e8a7516bb0523c9893823fc54
parent7aef17f367c94d6cef00f45b193e37d30ff4a3b5
objtool: Allow multiple pv_ops arrays

Having a single large pv_ops array has the main disadvantage of needing all
prototypes of the single array members in one header file. This is adding up
to the need to include lots of otherwise unrelated headers.

In order to allow multiple smaller pv_ops arrays dedicated to one area of the
kernel each, allow multiple arrays in objtool.

For better performance limit the possible names of the arrays to start with
"pv_ops".

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260105110520.21356-19-jgross@suse.com
tools/objtool/arch/x86/decode.c
tools/objtool/check.c
tools/objtool/include/objtool/check.h