diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-12-17 03:08:28 -0500 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-04-22 07:24:35 -0400 |
commit | 280ef0f1f982e4bd9a22ee3627ca06dccde59a64 (patch) | |
tree | ca928406d8f4af50e675c07195129353a06b61b9 /arch/s390/kvm/kvm-s390.c | |
parent | dfeec843fb237d73947e818f961e8d6f0df22b01 (diff) |
KVM: s390: export test_vfacility()
Make test_vfacility() available for other files. This is needed for the
new guest access functions, which test if certain facilities are available
for a guest.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index fe2396cc0856..4b1df682e5c3 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c | |||
@@ -91,7 +91,7 @@ unsigned long *vfacilities; | |||
91 | static struct gmap_notifier gmap_notifier; | 91 | static struct gmap_notifier gmap_notifier; |
92 | 92 | ||
93 | /* test availability of vfacility */ | 93 | /* test availability of vfacility */ |
94 | static inline int test_vfacility(unsigned long nr) | 94 | int test_vfacility(unsigned long nr) |
95 | { | 95 | { |
96 | return __test_facility(nr, (void *) vfacilities); | 96 | return __test_facility(nr, (void *) vfacilities); |
97 | } | 97 | } |