mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
x86/xen: Drop xen_cpu_ops
Instead of having a pre-filled array xen_cpu_ops for Xen PV paravirt functions, drop the array and assign each element individually. This is in preparation of reducing the paravirt include hell by splitting paravirt.h into multiple more fine grained header files, which will in turn require to split up the pv_ops vector as well. Dropping the pre-filled array makes life easier for objtool to detect missing initializers in multiple pv_ops_ arrays. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://patch.msgid.link/20260105110520.21356-17-jgross@suse.com
This commit is contained in:
committed by
Borislav Petkov (AMD)
parent
bc5e8e2fa2
commit
817f66e39e
@@ -570,7 +570,6 @@ static int init_pv_ops(struct objtool_file *file)
|
||||
{
|
||||
static const char *pv_ops_tables[] = {
|
||||
"pv_ops",
|
||||
"xen_cpu_ops",
|
||||
"xen_mmu_ops",
|
||||
NULL,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user