]> xenbits.xensource.com Git - xen.git/commit
x86+Arm: drop (rename) __virt_to_maddr() / __maddr_to_virt()
authorJan Beulich <jbeulich@suse.com>
Wed, 31 Jul 2024 10:36:14 +0000 (12:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 31 Jul 2024 10:36:14 +0000 (12:36 +0200)
commit96f35de69e593a9d9c348ae33ba17cf3cc5a9a79
tree19eff770b61d42564e2af1a8dec89ea4640c3d51
parenta5b8e72e9e2e59941cc76978725bb9ee04eba722
x86+Arm: drop (rename) __virt_to_maddr() / __maddr_to_virt()

There's no use of them anymore except in the definitions of the non-
underscore-prefixed aliases.

On Arm convert the (renamed) inline function to a macro.

On x86 rename the inline functions, adjust the virt_to_maddr() #define,
and purge the maddr_to_virt() one, thus eliminating a bogus cast which
would have allowed the passing of a pointer type variable into
maddr_to_virt() to go silently.

No functional change intended.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/include/asm/mm.h
xen/arch/x86/hvm/nestedhvm.c
xen/arch/x86/include/asm/page.h
xen/arch/x86/include/asm/x86_64/page.h