]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/32s: Only build hash code when CONFIG_PPC_BOOK3S_604 is selected
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 18 Dec 2020 06:56:05 +0000 (06:56 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 31 Jan 2021 11:35:50 +0000 (22:35 +1100)
commit259149cf7c3c6195e6199e045ca988c31d081cab
tree6bf839329886fabfd7acf860e98abdf73d69c109
parent675b963e2b6007818fe1b0a64b47be40c125246e
powerpc/32s: Only build hash code when CONFIG_PPC_BOOK3S_604 is selected

It is now possible to only build book3s/32 kernel for
CPUs without hash table.

Opt out hash related code when CONFIG_PPC_BOOK3S_604 is not selected.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/62df436454ef06e104cc334a0859a2878d7888d5.1608274548.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/head_book3s_32.S
arch/powerpc/mm/book3s32/Makefile