[ARM] pgtable: swp pte layout documentation, definitions, and check
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 5 Jul 2009 10:30:15 +0000 (11:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 5 Jul 2009 14:31:26 +0000 (15:31 +0100)
commitfb93a1c75eb646fde35985e9af23da936775ae52
tree345ad933ae9a1c114c4185b7578e9ddf08c608a2
parentba9b42e4ff5eb68f9c946378229d7e45299d7151
[ARM] pgtable: swp pte layout documentation, definitions, and check

Document the layout of our swp PTE entries, adding definitions for
the bit masks/shifts/sizes, and implement MAX_SWAPFILES_CHECK()
such that we fail to build if we are unable to properly encode the
swp type field.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/pgtable.h