x86/vpic: fix vpic_elcr_mask macro parameter usage
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 24 Aug 2020 13:35:49 +0000 (15:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Aug 2020 13:35:49 +0000 (15:35 +0200)
commit888dd66ea65688f2257ed01d509087fc3a97dcae
tree189ea03fa7b60c6bdfb0724688fd7cf89b404295
parentca7c88e82dcb478b157dd180e16ce79079282644
x86/vpic: fix vpic_elcr_mask macro parameter usage

vpic_elcr_mask wasn't using the v parameter, and instead worked
because in the context of the callers v would be vpic. Fix this by
correctly using the parameter. While there also remove the unneeded
casts to uint8_t and the ending semicolon.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vpic.c