]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/xen: Drop xen_mmu_ops
authorJuergen Gross <jgross@suse.com>
Mon, 5 Jan 2026 11:05:16 +0000 (12:05 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 12 Jan 2026 20:44:34 +0000 (21:44 +0100)
commit7aef17f367c94d6cef00f45b193e37d30ff4a3b5
treead802932d5caa0afb58a610f8728c970a82237ee
parent817f66e39e39b914aac25065a34f4462ab45ed26
x86/xen: Drop xen_mmu_ops

Instead of having a pre-filled array xen_mmu_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-18-jgross@suse.com
arch/x86/xen/mmu_pv.c
tools/objtool/check.c