powerpc/mm: Eliminate not possible mmu features at compile time
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 16 Nov 2018 17:08:03 +0000 (17:08 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000 (18:56 +1100)
commit712877f8740471d96f703647d813d8a74fccc816
tree11363e266f9ac4220a62d2c0493f064da64fc7eb
parent8a01960fb5bd95b920657133de52259227ee6ad7
powerpc/mm: Eliminate not possible mmu features at compile time

Depending on the CONFIG selected, many of the MMU features are
not possible. Lets only get the possible ones in MMU_FTRS_POSSIBLE.

This allows gcc to get rid at compile time of code related to
not possible features.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mmu.h