diff options
| author | David Hildenbrand <[email protected]> | 2023-01-13 18:10:15 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-02 22:33:08 -0800 |
| commit | 5ae3e74474f82613482ed67b0c234f61ac6ca2dd (patch) | |
| tree | 52957d626663b2e33e9ddda05c2d525cdfe71403 /tools/perf/scripts/python/bin | |
| parent | 4d1d955f7c0cdbb7562d19049f859c74276fdfeb (diff) | |
openrisc/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, mask the type in __swp_entry().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Stefan Kristiansson <[email protected]>
Cc: Stafford Horne <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions