aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/priv.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2014-04-29 03:34:41 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-08-25 08:35:58 -0400
commit6e0a0431bf7d90ed0b8a0a974ad219617a70cc22 (patch)
tree964d7a595bba5c8cd84ae6a0d363fe9edaabc14e /arch/s390/kvm/priv.c
parent9da4e3807657f3bcd12cfbb5671d80794303dde2 (diff)
KVM: s390/mm: cleanup gmap function arguments, variable names
Make the order of arguments for the gmap calls more consistent, if the gmap pointer is passed it is always the first argument. In addition distinguish between guest address and user address by naming the variables gaddr for a guest address and vmaddr for a user address. Signed-off-by: Martin Schwidefsky <schwidefsky@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/priv.c')
-rw-r--r--arch/s390/kvm/priv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c
index d806f2cfde16..72bb2dd8b9cd 100644
--- a/arch/s390/kvm/priv.c
+++ b/arch/s390/kvm/priv.c
@@ -729,7 +729,7 @@ static int handle_essa(struct kvm_vcpu *vcpu)
729 /* invalid entry */ 729 /* invalid entry */
730 break; 730 break;
731 /* try to free backing */ 731 /* try to free backing */
732 __gmap_zap(cbrle, gmap); 732 __gmap_zap(gmap, cbrle);
733 } 733 }
734 up_read(&gmap->mm->mmap_sem); 734 up_read(&gmap->mm->mmap_sem);
735 if (i < entries) 735 if (i < entries)