KVM: s390: Allow NULL parameter for kvm_s390_get_regs_rre
authorThomas Huth <thuth@linux.vnet.ibm.com>
Thu, 12 Sep 2013 08:33:46 +0000 (10:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2013 17:12:20 +0000 (19:12 +0200)
commitff7158b2277d2bb942e2d09dd1df9a9d8a7598ab
treea2f4bf8cbdaaa3ea9804df37b5c6a0daa3fc8062
parent800c1065c3207a1b04d4ac457a57a37ce19eeb21
KVM: s390: Allow NULL parameter for kvm_s390_get_regs_rre

We're not always interested in both registers that are specified
for an RRE instruction. So allow NULL as parameter, too, to indicate
that we do not need the corresponding value.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/kvm-s390.h