diff options
| author | Dongjiu Geng <gengdongjiu@huawei.com> | 2017-12-13 18:36:47 +0800 |
|---|---|---|
| committer | Will Deacon <will.deacon@arm.com> | 2017-12-13 09:58:13 +0000 |
| commit | faa75e147b583417273902552c61cf3250a44308 (patch) | |
| tree | 7301fe6882973bd87f4ea1c4ab9dfab95188bed3 /lib/memory-notifier-error-inject.c | |
| parent | 0e17cada2a5b4dc847082e1db0e3f84599ffd436 (diff) | |
arm64: fault: avoid send SIGBUS two times
do_sea() calls arm64_notify_die() which will always signal
user-space. It also returns whether APEI claimed the external
abort as a RAS notification. If it returns failure do_mem_abort()
will signal user-space too.
do_mem_abort() wants to know if we handled the error, we always
call arm64_notify_die() so can always return success.
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Reviewed-by: James Morse <james.morse@arm.com>
Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
