]> git.baikalelectronics.ru Git - kernel.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)
commitf4616604c554502e479863c7ff1360f905919b15
treedfad218dc96f8d19c72e419af50fa9fd8e687533
parentec0fecfafc07d3aa206c3f0ccafeac99d6ec2d55
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