x86/HPET: adjustments to constants and their use
authorJan Beulich <jbeulich@suse.com>
Wed, 18 Jul 2018 08:38:03 +0000 (10:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Jul 2018 08:38:03 +0000 (10:38 +0200)
commit82237773dc13b81ea548943f3416c66abeb0ab2e
treea803a978e15f19a3d400ca015e2bf0ad81fd76e2
parent969f0e700d241ae90a037d71221162ec68368efc
x86/HPET: adjustments to constants and their use

Drop HPET_TN_ROUTE_SHIFT as redundant with HPET_TN_ROUTE.

Introduce HPET_TN_INT_ROUTE_CAP paralleling the other HPET_TN_*_CAP
constants, making it necessary to rename the such named constant in
hvm/hpet.c. Use MASK_EXTR() / MASK_INSR() instead of kind of open-
coding them.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/hpet.c
xen/include/asm-x86/hpet.h