]> xenbits.xensource.com Git - xen.git/commit
x86/vRTC: minor adjustment to reads from index port
authorJan Beulich <jbeulich@suse.com>
Thu, 2 Nov 2023 09:42:02 +0000 (10:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 2 Nov 2023 09:42:02 +0000 (10:42 +0100)
commit7b1de98b66f91b468d9bdc9abafdb55e3276d989
tree5b89f12c2fee0f17fc543018799022281133bf81
parent7befef87cc9b1bb8ca15d866ce1ecd9165ccb58c
x86/vRTC: minor adjustment to reads from index port

Whether to handle this shouldn't depend on the present value of the
index register. Since the handling is done outside of the lock anyway,
pull it out into the sole caller and drop the no longer needed function
parameter.

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