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 <anshuman.khandual@xxxxxxx> for parisc: Acked-by: Helge Deller <deller@xxxxxx> # parisc Helge