x86/vPIC: correct vcpi_domain()
PATCH 1/1 x86/vPIC: correct vcpi_domain()
Make it use its parameter in both places.
Fixes 00a70f44a68c ("[HVM] Update VPIC device model for new interrupt delivery code")
Signed-off-by Jan Beulich <[email protected]>
xen/arch/x86/hvm/vpic.c +1 -1
@@ -35,7 +35,7 @@#include <asm/hvm/save.h> #define vpic_domain (v) (container_of((v), struct domain, \ - arch.hvm.vpic[!vpic->is_master])) + arch.hvm.vpic[!(v)->is_master]))#define __vpic_lock (v) &container_of((v), struct hvm_domain, \ vpic[!(v)->is_master])->irq_lock#define vpic_lock (v) spin_lock(__vpic_lock(v))
Quoted 4 lines · Jan Beulich
Make it use its parameter in both places.
Fixes 00a70f44a68c ("[HVM] Update VPIC device model for new interrupt delivery code")Signed-off-by Jan Beulich <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>
^ typo in the subject :).
Quoted 4 lines · Jan Beulich
Make it use its parameter in both places.
Fixes 00a70f44a68c ("[HVM] Update VPIC device model for new interrupt delivery code")Signed-off-by Jan Beulich <[email protected]>
Acked-by Roger Pau Monné <[email protected]>
Thanks, Roger.