Re: [XEN PATCH v2 09/15] x86/traps: clean up superfluous #idef-s

2024-05-15 Thread Stefano Stabellini
On Wed, 15 May 2024, Sergiy Kibrik wrote: > Remove preprocessor checks for CONFIG_HVM option, because expressions covered > by these checks are already guarded by cpu_has_vmx, which itself depends > on CONFIG_HVM option (via CONFIG_VMX). > > No functional change intended. > > Signed-off-by: Sergi

[XEN PATCH v2 09/15] x86/traps: clean up superfluous #idef-s

2024-05-15 Thread Sergiy Kibrik
Remove preprocessor checks for CONFIG_HVM option, because expressions covered by these checks are already guarded by cpu_has_vmx, which itself depends on CONFIG_HVM option (via CONFIG_VMX). No functional change intended. Signed-off-by: Sergiy Kibrik --- xen/arch/x86/traps.c | 4 1 file cha