]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited17708ece6db1bcd1e664fbf814e190ff6c5ba3
treea2f4bf8cbdaaa3ea9804df37b5c6a0daa3fc8062
parentd7cbe6ce450d29a6afc3286ff2e8a3d4dcfd2480
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