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 <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]> ---
Reviewed-by: David Hildenbrand <[email protected]> -- Cheers, David / dhildenb
