asm-generic: add generic MMU versions of mmu context functions
authorNicholas Piggin <npiggin@gmail.com>
Tue, 1 Sep 2020 14:15:17 +0000 (00:15 +1000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 26 Oct 2020 15:45:03 +0000 (16:45 +0100)
commit94f89922e1e094f57a143965059a3e477f3f2fdc
treecbaa4958435ba56d87a73985d2d68a2965e19dfd
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
asm-generic: add generic MMU versions of mmu context functions

Many of these are no-ops on many architectures, so extend mmu_context.h
to cover MMU and NOMMU, and split the NOMMU bits out to nommu_context.h

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arch@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/c6x/include/asm/mmu_context.h [new file with mode: 0644]
arch/microblaze/include/asm/mmu_context.h
arch/sh/include/asm/mmu_context.h
include/asm-generic/mmu_context.h
include/asm-generic/nommu_context.h [new file with mode: 0644]