From: Arnd Bergmann <arnd@xxxxxxxx> On Tue, 27 Oct 2020 09:19:19 +0100, Geert Uytterhoeven wrote:
When building for Sun-3 (e.g. sun3_defconfig): In file included from ./arch/m68k/include/asm/mmu_context.h:312, from arch/m68k/sun3/mmu_emu.c:28: ./include/asm-generic/mmu_context.h:46:20: error: redefinition of ‘destroy_context’ 46 | static inline void destroy_context(struct mm_struct *mm) | ^~~~~~~~~~~~~~~ In file included from arch/m68k/sun3/mmu_emu.c:28: ./arch/m68k/include/asm/mmu_context.h:192:20: note: previous definition of ‘destroy_context’ was here 192 | static inline void destroy_context(struct mm_struct *mm) | ^~~~~~~~~~~~~~~ [...]
Applied to asm-generic, thanks! [1/1] m68k: mmu_context: Fix Sun-3 build commit: 2040a6bf90b530165cc86dfa879d5daa3b85f220 Arnd