s390/kvm: Provide function for setting the guest storage key
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 27 May 2013 08:42:04 +0000 (10:42 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:04 +0000 (21:10 +0200)
commit24d5dd0208ed1cd3ef6bf30a50b347ef366f21ac
tree14d46de484f1297ce965e8b95a63ae167729a2fd
parent25b41a7b67ee4f4d12cee8a4b8b5929e36c27e29
s390/kvm: 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: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgalloc.h
arch/s390/mm/pgtable.c