]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/syscall: Make interrupt.c buildable on PPC32
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 8 Feb 2021 15:10:28 +0000 (15:10 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Feb 2021 12:35:10 +0000 (23:35 +1100)
commit344bb20b159dd0996e521c0d4c131a6ae10c322a
treedb99372c01b85f49ab43273d635b5d17e28296f7
parentab1a517d55b01b54ba70f5d54f926f5ab4b18339
powerpc/syscall: Make interrupt.c buildable on PPC32

To allow building interrupt.c on PPC32, ifdef out specific PPC64
code or use helpers which are available on both PP32 and PPC64

Modify Makefile to always build interrupt.o

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ba073ad67bd971a88ce331b65d6655523b54c794.1612796617.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/interrupt.c