Thread (7 messages) 7 messages, 5 authors, 2020-03-05

Re: [PATCH] mm/special: Create generic fallbacks for pte_special() and pte_mkspecial()

From: Helge Deller <deller@gmx.de>
Date: 2020-03-02 11:21:24
Also in: linux-alpha, linux-arch, linux-m68k, linux-mips, linux-mm, linux-um, lkml, sparclinux

On 02.03.20 02:56, Anshuman Khandual wrote:
Currently there are many platforms that dont enable HAVE_ARCH_PTE_SPECIAL
but required to define quite similar fallback stubs for special page table
entry helpers such as pte_special() and pte_mkspecial(), as they get build
in generic MM without a config check. This creates two generic fallback
stub definitions for these helpers, eliminating much code duplication.

mips platform has a special case where pte_special() and pte_mkspecial()
visibility is wider than what HAVE_ARCH_PTE_SPECIAL enablement requires.
This restricts those symbol visibility in order to avoid redefinitions
which is now exposed through this new generic stubs and subsequent build
failure. arm platform set_pte_at() definition needs to be moved into a C
file just to prevent a build failure.

Signed-off-by: Anshuman Khandual <redacted>
for parisc:

Acked-by: Helge Deller <deller@gmx.de> # parisc

Helge

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help