x86/xen: move paravirt lazy code
authorJuergen Gross <jgross@suse.com>
Wed, 13 Sep 2023 11:38:27 +0000 (13:38 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 19 Sep 2023 05:04:49 +0000 (07:04 +0200)
commita4a7644c15096f57f92252dd6e1046bf269c87d8
tree1e168f0cc8380c54cadc8dc575829eb3a9063aea
parent361239fd1448d64faa4adba5bbf100401c0a606e
x86/xen: move paravirt lazy code

Only Xen is using the paravirt lazy mode code, so it can be moved to
Xen specific sources.

This allows to make some of the functions static or to merge them into
their only call sites.

While at it do a rename from "paravirt" to "xen" for all moved
specifiers.

No functional change.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20230913113828.18421-3-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/include/asm/paravirt_types.h
arch/x86/include/asm/xen/hypervisor.h
arch/x86/kernel/paravirt.c
arch/x86/xen/enlighten_pv.c
arch/x86/xen/mmu_pv.c
arch/x86/xen/multicalls.h
include/trace/events/xen.h