diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-04-26 16:23:35 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-03 01:20:26 +1000 |
commit | 72f208c6a8f7bc78ef5248babd9e6ed6302bd2a0 (patch) | |
tree | 188de1b1f6237776858d75160c0310df3654eef8 /arch/powerpc/mm/mmu_decl.h | |
parent | powerpc/32: Add KASAN support (diff) | |
download | linux-dev-72f208c6a8f7bc78ef5248babd9e6ed6302bd2a0.tar.xz linux-dev-72f208c6a8f7bc78ef5248babd9e6ed6302bd2a0.zip |
powerpc/32s: move hash code patching out of MMU_init_hw()
For KASAN, hash table handling will be activated early for
accessing to KASAN shadow areas.
In order to avoid any modification of the hash functions while
they are still used with the early hash table, the code patching
is moved out of MMU_init_hw() and put close to the big-bang switch
to the final hash table.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
-rw-r--r-- | arch/powerpc/mm/mmu_decl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h index 74ff61dabcb1..d726ff776054 100644 --- a/arch/powerpc/mm/mmu_decl.h +++ b/arch/powerpc/mm/mmu_decl.h @@ -130,6 +130,7 @@ extern void wii_memory_fixups(void); */ #ifdef CONFIG_PPC32 extern void MMU_init_hw(void); +void MMU_init_hw_patch(void); unsigned long mmu_mapin_ram(unsigned long base, unsigned long top); #endif |