KVM: s390: generalize kvm_s390_get_tod_clock_ext()
authorDavid Hildenbrand <david@redhat.com>
Fri, 27 Apr 2018 12:36:13 +0000 (14:36 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 17 May 2018 07:02:37 +0000 (09:02 +0200)
commit33d1b2729e409e8327dec2d13a9144dfa76a947c
treeeb18b2f8c207f54f54a5a25a11337e9e0acd3162
parent9ac96d759fa2de2386a4fccab80880f99d1161d2
KVM: s390: generalize kvm_s390_get_tod_clock_ext()

Move the Multiple-epoch facility handling into it and rename it to
kvm_s390_get_tod_clock().

This leaves us with:
- kvm_s390_set_tod_clock()
- kvm_s390_get_tod_clock()
- kvm_s390_get_tod_clock_fast()

So all Multiple-epoch facility is hidden in these functions.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c