diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-06-28 18:07:31 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-07-01 11:43:30 +0100 |
commit | 390bf1773c7eba3b45df62ae82b3d2be911185b7 (patch) | |
tree | 7bbb8ee4425bdec0dbd5563952c68ab6c6e22ee5 /arch/arm64/kernel/cpu_errata.c | |
parent | 8e2318521bf5837dae093413f81292b59d49d030 (diff) | |
download | linux-390bf1773c7eba3b45df62ae82b3d2be911185b7.tar.bz2 |
arm64: consolidate signal injection on emulation errors
The code for injecting a signal into userland if a trapped instruction
fails emulation due to a _userland_ error (like an illegal address)
will be used more often with the next patch.
Factor out the core functionality into a separate function and use
that both for the existing trap handler and for the deprecated
instructions emulation.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
[catalin.marinas@arm.com: s/set_segfault/arm64_notify_segfault/]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/cpu_errata.c')
0 files changed, 0 insertions, 0 deletions