• Michael Ellerman's avatar
    powerpc/mm/radix: Fix build error when RADIX_MMU=n · 015eb1b8
    Michael Ellerman authored
    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.
    
    Fixes: d4748276 ("powerpc/64s: Improve local TLB flush for boot and MCE on POWER9")
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    015eb1b8
tlbflush-radix.h 2.42 KB