]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/xen: Drop xen_cpu_ops
authorJuergen Gross <jgross@suse.com>
Mon, 5 Jan 2026 11:05:15 +0000 (12:05 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 12 Jan 2026 18:53:20 +0000 (19:53 +0100)
commit817f66e39e39b914aac25065a34f4462ab45ed26
tree065c1e11b149aa2fa7f0e75b8a318d852abaa38f
parentbc5e8e2fa2e28ef6c2a55ae294d04100d4b1bffe
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
arch/x86/xen/enlighten_pv.c
tools/objtool/check.c