powerpc/signal32: Remove impossible #ifdef combinations
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 10 Jun 2021 15:58:34 +0000 (15:58 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Jun 2021 14:09:11 +0000 (00:09 +1000)
commitac3d085368b3abf19b24d8505b897454c7372855
treee497119d665e22895c01adefdf236f9b976b31c0
parentbaf24d23be7d2357a2aa9c5ffb6a2d680ac2a68c
powerpc/signal32: Remove impossible #ifdef combinations

PPC_TRANSACTIONAL_MEM is only on book3s/64
SPE is only on booke

PPC_TRANSACTIONAL_MEM selects ALTIVEC and VSX

Therefore, within PPC_TRANSACTIONAL_MEM sections,
ALTIVEC and VSX are always defined while SPE never is.

Remove all SPE code and all #ifdef ALTIVEC and VSX in tm
functions.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a069a348ee3c2fe3123a5a93695c2b35dc42cb40.1623340691.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/signal_32.c