linux/arch
Geert Uytterhoeven 2040a6bf90 m68k: mmu_context: Fix Sun-3 build
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)
	  |                    ^~~~~~~~~~~~~~~

Fix this by marking destroy_context implemented by arch-specific code.

Fixes: cb41155766b05935 ("m68k: use asm-generic/mmu_context.h for no-op implementations")
Reported-by: noreply@ellerman.id.au
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-10-27 17:23:42 +01:00
..
alpha alpha: use asm-generic/mmu_context.h for no-op implementations 2020-10-26 16:45:05 +01:00
arc arc: use asm-generic/mmu_context.h for no-op implementations 2020-10-26 16:45:05 +01:00
arm arm: use asm-generic/mmu_context.h for no-op implementations 2020-10-26 16:45:06 +01:00
arm64 arm64: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:34 +01:00
c6x asm-generic: add generic MMU versions of mmu context functions 2020-10-26 16:45:03 +01:00
csky csky: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:34 +01:00
h8300 arch-cleanup-2020-10-22 2020-10-23 10:06:38 -07:00
hexagon hexagon: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:35 +01:00
ia64 ia64: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:35 +01:00
m68k m68k: mmu_context: Fix Sun-3 build 2020-10-27 17:23:42 +01:00
microblaze microblaze: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
mips mips: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
nds32 nds32: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
nios2 nios2: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
openrisc openrisc: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:37 +01:00
parisc parisc: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:37 +01:00
powerpc powerpc: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:37 +01:00
riscv riscv: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:38 +01:00
s390 s390: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:38 +01:00
sh sh: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:38 +01:00
sparc sparc: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:38 +01:00
um um: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:39 +01:00
x86 x86: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:39 +01:00
xtensa xtensa: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:39 +01:00
.gitignore
Kconfig Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-22 09:59:21 -07:00