]> xenbits.xensource.com Git - xen.git/commit
xen/mm: Switch some APIs over to pte_attr_t
authorShawn Anastasio <sanastasio@raptorengineering.com>
Fri, 25 Apr 2025 10:29:56 +0000 (11:29 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 May 2025 23:02:42 +0000 (00:02 +0100)
commit19772b670426f6466b922b42017e818c837a172c
treed4a3284a5f420760c338428242bbd0ce9df27264
parent08d03e12d3ab5b00ac3e0e0add695659e1c879b3
xen/mm: Switch some APIs over to pte_attr_t

Several APIs take an architecture-dependent set of flags in an unsigned int,
but this needs to be a wider type to support PPC.

The new type pte_attr_t has been introduced for this purpose, so switch to it
in map_pages_to_xen(), __vmap() and modify_xen_mappings{,_lite}().

No functional change.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Shawn Anastasio <sanastasio@raptorengineering.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mmu/pt.c
xen/arch/ppc/mm-radix.c
xen/arch/riscv/pt.c
xen/arch/x86/mm.c
xen/common/efi/boot.c
xen/common/vmap.c
xen/include/xen/mm.h
xen/include/xen/vmap.h