powerpc/64s: Prevent fallthrough to hash TLB flush when using radix

In the fix reconnecting hash__tlb_flush() to tlb_flush() the
void return on radix__tlb_flush() was not restored and subsequently
falls through to the restored hash__tlb_flush().

Guard hash__tlb_flush() under an else to prevent this.

Fixes: 1665c027afb2 ("powerpc/64s: Reconnect tlb_flush() to hash__tlb_flush()")
Reported-by: "Erhard F." <erhard_f@mailbox.org>
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230217011434.115554-1-bgray@linux.ibm.com

authored by Benjamin Gray and committed by Michael Ellerman 4302abc6 2ea31e2e

Changed files
+2 -2
arch
powerpc
include
asm
book3s
+2 -2
arch/powerpc/include/asm/book3s/64/tlbflush.h
··· 97 97 { 98 98 if (radix_enabled()) 99 99 radix__tlb_flush(tlb); 100 - 101 - return hash__tlb_flush(tlb); 100 + else 101 + hash__tlb_flush(tlb); 102 102 } 103 103 104 104 #ifdef CONFIG_SMP