Re: powerpc/mm/radix: Fix build error when RADIX_MMU=n

2018-02-01 Thread Michael Ellerman
On Wed, 2018-01-31 at 14:13:10 UTC, Michael Ellerman wrote: > The recent TLB flush rework broke the build when the Radix MMU is > disabled at build time, eg: > > (.text+0x264): undefined reference to `.radix__tlbiel_all' > > We could add an empty version, but if we ever called it by accident >

[PATCH] powerpc/mm/radix: Fix build error when RADIX_MMU=n

2018-01-31 Thread Michael Ellerman
The recent TLB flush rework broke the build when the Radix MMU is disabled at build time, eg: (.text+0x264): undefined reference to `.radix__tlbiel_all' We could add an empty version, but if we ever called it by accident that would indicate a bad bug, so add a stub that just WARNs if we do. Fi