diff options
| author | Eric W. Biederman <[email protected]> | 2018-04-20 09:14:56 -0500 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2018-04-25 10:44:11 -0500 |
| commit | 7de712ccc096b81d23cc0a941cd9b8cb3956605d (patch) | |
| tree | 17411deb140e0d52c5d1b55306fc81c579b2dc82 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | bc08c0781dbe5ec996bac1088f944723103729af (diff) | |
signal/xtensa: Consistenly use SIGBUS in do_unaligned_user
While working on changing this code to use force_sig_fault I
discovered that do_unaliged_user is sets si_signo to SIGBUS and passes
SIGSEGV to force_sig_info. Which is just b0rked.
The code is reporting a SIGBUS error so replace the SIGSEGV with SIGBUS.
Cc: Chris Zankel <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Max Filippov <[email protected]>
Fixes: 5a0015d62668 ("[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3")
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions