]> git.karo-electronics.de Git - karo-tx-linux.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, 8 Aug 2013 14:32:10 +0000 (16:32 +0200)
commit47247d56661f0e3a5c91865ec3e1c6814fa7dac4
treeabff91550f1d234662d3642d46d9bcb1b4282143
parent50dc127bad785a2bbae5c29aef570f9eece711a2
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