]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c0b68dfb55cdcb0d42f86da30e47727381aead3
tree43395c29a347db539cc6e9fe7cfad37cf580e434
parent5ed5dd5fc97e8a0344598b10219d7a5c3653c6ed
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