On 05.09.23 14:21, Philippe Mathieu-Daudé wrote:
Call xen_enabled() before xen_hvm_modified_memory() to let the compiler elide its call.Have xen_enabled() return a boolean to match its declaration in the CONFIG_XEN_IS_POSSIBLE case. Suggested-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> ---
Reviewed-by: David Hildenbrand <da...@redhat.com> -- Cheers, David / dhildenb