]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/mm: cleanup page table definitions
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 23 Jul 2013 18:57:57 +0000 (20:57 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 8 Aug 2013 14:32:08 +0000 (16:32 +0200)
commit1dc9b01043da4a312f7e11ed97ef4b1fe3e7db89
tree4d4ed18ab35f3e93cba70fd50e56668cc5489061
parent41666a7dbef68c09450774c81df947c3debe4de1
s390/mm: cleanup page table definitions

Improve the encoding of the different pte types and the naming of the
page, segment table and region table bits. Due to the different pte
encoding the hugetlbfs primitives need to be adapted as well. To improve
compatability with common code make the huge ptes use the encoding of
normal ptes. The conversion between the pte and pmd encoding for a huge
pte is done with set_huge_pte_at and huge_ptep_get.
Overall the code is now easier to understand.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/hugetlb.h
arch/s390/include/asm/pgtable.h
arch/s390/kernel/vdso.c
arch/s390/lib/uaccess_pt.c
arch/s390/mm/dump_pagetables.c
arch/s390/mm/gup.c
arch/s390/mm/hugetlbpage.c
arch/s390/mm/pageattr.c
arch/s390/mm/pgtable.c
arch/s390/mm/vmem.c