• Michael Ellerman's avatar
    powerpc/64s: Fix ps3 build error due to tlbiel_all() · 7a074fc0
    Michael Ellerman authored
    The recent changes to TLB handling broke the PS3 build:
    
      arch/powerpc/include/asm/book3s/64/tlbflush.h:30: undefined reference to `.hash__tlbiel_all'
    
    Fix it by adding an fallback version of tlbiel_all() for non-native
    builds. It should never be called, due to checks in callers so it
    calls BUG(). We should probably clean it up further but this will
    suffice for now.
    
    Fixes: d4748276 ("powerpc/64s: Improve local TLB flush for boot and MCE on POWER9")
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    7a074fc0
tlbflush.h 3.95 KB