]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add support for relative exception tables
authorNicholas Piggin <npiggin@gmail.com>
Fri, 14 Oct 2016 05:47:31 +0000 (16:47 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Nov 2016 00:11:51 +0000 (11:11 +1100)
commitc53fe3f30e4d51618e8f96e556a7bc82e0ae13d2
tree0ded0103f9cc2e2a6fc53e0fcc5bb6c4c2329265
parentdf4c7f73fa1c02d060d6d598ce5fbaded0f8fed8
powerpc: Add support for relative exception tables

This halves the exception table size on 64-bit builds, and it allows
build-time sorting of exception tables to work on relocated kernels.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Minor asm fixups and bits to keep the selftests working]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/include/asm/uaccess.h
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/traps.c
arch/powerpc/mm/fault.c
arch/powerpc/platforms/embedded6xx/holly.c
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
arch/powerpc/sysdev/fsl_rio.c
tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c