aboutsummaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/pgtable-bits.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2023-01-13 18:10:10 +0100
committerAndrew Morton <[email protected]>2023-02-02 22:33:07 -0800
commited4154067a086c44608b08f55cceb2688b661750 (patch)
tree16ad7ef49bec21da0957b584f4f50dd0612f70c1 /arch/nios2/include/asm/pgtable-bits.h
parentad464ff2c0f91fcacc24167fc435aa45fe0b7d1b (diff)
m68k/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit from the type. Generic MM currently only uses 5 bits for the type (MAX_SWAPFILES_SHIFT), so the stolen bit is effectively unused. While at it, make sure for sun3 that the valid bit never gets set by properly masking it off and mask the type in __swp_entry(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Greg Ungerer <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/nios2/include/asm/pgtable-bits.h')
0 files changed, 0 insertions, 0 deletions