On 02/12/2025 10:27, Oleksii Kurochko wrote:
> From: Roger Pau Monne <[email protected]>
>
> Move x86's free_domain_struct() to common code since it is shared between
> architectures.
>
> Move the x86 version of alloc_domain_struct() to common code as most of the
> logic is architecture-independent. To handle the remaining architectural
> differences, introduce arch_domain_struct_memflags() for x86-specific
> allocation requirements.
>
> No functional change.
>
> Suggested-by: Jan Beulich <[email protected]>
> [Introduce an arch-specific function instead of using a weak function]
> Signed-off-by: Roger Pau Monné <[email protected]>
> Signed-off-by: Oleksii Kurochko <[email protected]>
> Reviewed-by: Jan Beulich <[email protected]>
Acked-by: Michal Orzel <[email protected]>
~Michal