]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b9e231dd889105389538ac1ef6d9dc9c2a3796a
treee497119d665e22895c01adefdf236f9b976b31c0
parentb5496e53e6412d004cb8409e32a981ec85bc87b7
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