parisc: Fix encoding of swp_entry due to added SWP_EXCLUSIVE flag
Fix the __swp_offset() and __swp_entry() macros due to commit 6d239fc7 ("parisc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE") which introduced the SWP_EXCLUSIVE flag by reusing the _PAGE_ACCESSED flag. Reported-by: NChristoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de> Tested-by: NChristoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de> Reviewed-by: NDavid Hildenbrand <david@redhat.com> Signed-off-by: NHelge Deller <deller@gmx.de> Fixes: 6d239fc7 ("parisc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE") Cc: <stable@vger.kernel.org> # v6.3+
Showing
想要评论请 注册 或 登录