]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/pgtable: add pgste_get helper
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 19 Jul 2013 09:15:54 +0000 (11:15 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Aug 2013 10:20:07 +0000 (12:20 +0200)
commitd56c893d36678f7ec8552f22ec12793a82ff8ee6
treedfad218dc96f8d19c72e419af50fa9fd8e687533
parenta055f66a3a099e2c886a53421405f98683e94b2b
s390/pgtable: add pgste_get helper

ptep_modify_prot_start uses the pgste_set helper to store the pgste,
while ptep_modify_prot_commit uses its own pointer magic to retrieve
the value again. Add the pgste_get help function to keep things
symmetrical and improve readability.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h