KVM: s390: Cleanup usage of current->mm in set_guest_storage_key
authorJason J. Herne <jjherne@us.ibm.com>
Tue, 7 Oct 2014 17:31:37 +0000 (13:31 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 28 Oct 2014 12:09:10 +0000 (13:09 +0100)
commitedeb69e53729342ec08a0906e1208d846a5e4f4c
tree43395c29a347db539cc6e9fe7cfad37cf580e434
parenta6b7e459ff6d569227980f711664f927100c73a8
KVM: s390: Cleanup usage of current->mm in set_guest_storage_key

In set_guest_storage_key, we really want to reference the mm struct given as
a parameter to the function. So replace the current->mm reference with the
mm struct passed in by the caller.

Signed-off-by: Jason J. Herne <jjherne@us.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/mm/pgtable.c