powerpc: EX_TABLE macro for exception tables
authorNicholas Piggin <npiggin@gmail.com>
Thu, 13 Oct 2016 05:42:53 +0000 (16:42 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Nov 2016 00:11:51 +0000 (11:11 +1100)
commit24bfa6a9e0d4fe414dfc4ad06c93e10c4c37194e
tree13368fce0b6bc8558aad558dc275368f2dc44afc
parent997e200182347d2cc7e37bc43eaafe249b4571b9
powerpc: EX_TABLE macro for exception tables

This macro is taken from s390, and allows more flexibility in
changing exception table format.

mpe: Put it in ppc_asm.h and only define one version using
stringinfy_in_c(). Add some empty definitions and headers to keep the
selftests happy.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
21 files changed:
arch/powerpc/include/asm/futex.h
arch/powerpc/include/asm/io.h
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/include/asm/uaccess.h
arch/powerpc/include/asm/word-at-a-time.h
arch/powerpc/lib/checksum_32.S
arch/powerpc/lib/checksum_64.S
arch/powerpc/lib/copy_32.S
arch/powerpc/lib/copyuser_64.S
arch/powerpc/lib/copyuser_power7.S
arch/powerpc/lib/ldstfp.S
arch/powerpc/lib/sstep.c
arch/powerpc/lib/string.S
arch/powerpc/lib/string_64.S
arch/powerpc/sysdev/fsl_rio.c
arch/powerpc/sysdev/tsi108_pci.c
tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
tools/testing/selftests/powerpc/primitives/asm/firmware.h [new file with mode: 0644]
tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h [new symlink]
tools/testing/selftests/powerpc/primitives/asm/processor.h [new file with mode: 0644]
tools/testing/selftests/powerpc/primitives/linux/stringify.h [new file with mode: 0644]