]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/32s: Make Hash var static
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 22 Oct 2020 06:29:31 +0000 (06:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Dec 2020 05:46:54 +0000 (16:46 +1100)
commit4b74a35fc7e9b8efd9067b8a365bab0fefe889ff
treef7d4d03ef6924b26fbbbcaadf62a19c1106699d3
parent4cc445b4ff456f3a3997c321d7a353360feea04f
powerpc/32s: Make Hash var static

Hash var is used only locally in mmu.c now.

No need to set it in head_32.S anymore.

Make it static and initialises it to the early hash table.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/786c82a89cdfdaabb32b72a44f7c312fa81d192b.1603348103.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/head_book3s_32.S
arch/powerpc/mm/book3s32/mmu.c
arch/powerpc/mm/mmu_decl.h