KVM: s390: Provide function for setting the guest storage key
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 12 Jun 2013 11:54:52 +0000 (13:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Jun 2013 15:04:30 +0000 (17:04 +0200)
commitdb70ccdfb9953b984f5b95d98c50d8da335bab59
tree0fcf0e279caf6c7b9652a7e6bc824fe926b893dd
parent8915aa27d5efbb9185357175b0acf884325565f9
KVM: s390: Provide function for setting the guest storage key

From time to time we need to set the guest storage key. Lets
provide a helper function that handles the changes with all the
right locking and checking.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/include/asm/pgalloc.h
arch/s390/mm/pgtable.c