s390/mm: change swap pte encoding and pgtable cleanup
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Apr 2015 11:55:59 +0000 (13:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 23 Apr 2015 14:56:20 +0000 (16:56 +0200)
commita1c843b82541fdd4c4644607c942dabc7c7e6f6c
treee610fdda8945bfabde597f38b755af7ba2f6f02d
parentb7d14f3a92223c3f5e52e9f20c74cb96dc130e87
s390/mm: change swap pte encoding and pgtable cleanup

After the file ptes have been removed the bit combination used to
encode non-linear mappings can be reused for the swap ptes. This
frees up a precious pte software bit. Reflect the change in the
swap encoding in the comments and do some cleanup while we are
at it.

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