Should not have any impact, because we always select PP_MM_SLICES these days.
Nevertheless it is good to indicate that slb_addr_limit is available only
with slice code.
Signed-off-by: Aneesh Kumar K.V <redacted>
---
arch/powerpc/mm/slb_low.S | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2018-03-30 12:35:19
"Aneesh Kumar K.V" [off-list ref] writes:
Should not have any impact, because we always select PP_MM_SLICES these days.
Nevertheless it is good to indicate that slb_addr_limit is available only
with slice code.
That file can only be built if PPC_MM_SLICES=y.
So let's just remove the ifdef entirely.
These days PPC_MM_SLICES == PPC_BOOK3S_64, so we should remove
PPC_MM_SLICES #defines wherever possible and replace them with
PPC_BOOK3S_64 otherwise IMO.
cheers
Michael Ellerman [off-list ref] a =C3=A9crit=C2=A0:
"Aneesh Kumar K.V" [off-list ref] writes:
quoted
Should not have any impact, because we always select PP_MM_SLICES=20=20
=20these days.
Nevertheless it is good to indicate that slb_addr_limit is available onl=
y
quoted
with slice code.
That file can only be built if PPC_MM_SLICES=3Dy.
So let's just remove the ifdef entirely.
These days PPC_MM_SLICES =3D=3D PPC_BOOK3S_64, so we should remove
PPC_MM_SLICES #defines wherever possible and replace them with
PPC_BOOK3S_64 otherwise IMO.
PPC8xx also selects PPC_MM_SLICES when hugepages is selected.
Christophe