diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mm/alignment.c | 4 | ||||
-rw-r--r-- | arch/arm/mm/fault.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mm/alignment.c b/arch/arm/mm/alignment.c index 6f98c358989a..53a609680c10 100644 --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c | |||
@@ -924,8 +924,8 @@ static int __init alignment_init(void) | |||
924 | ai_usermode = UM_FIXUP; | 924 | ai_usermode = UM_FIXUP; |
925 | } | 925 | } |
926 | 926 | ||
927 | hook_fault_code(1, do_alignment, SIGILL, "alignment exception"); | 927 | hook_fault_code(1, do_alignment, SIGBUS, "alignment exception"); |
928 | hook_fault_code(3, do_alignment, SIGILL, "alignment exception"); | 928 | hook_fault_code(3, do_alignment, SIGBUS, "alignment exception"); |
929 | 929 | ||
930 | return 0; | 930 | return 0; |
931 | } | 931 | } |
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index cbfb2edcf7d1..ce6f3a422c81 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c | |||
@@ -463,9 +463,9 @@ static struct fsr_info { | |||
463 | * defines these to be "precise" aborts. | 463 | * defines these to be "precise" aborts. |
464 | */ | 464 | */ |
465 | { do_bad, SIGSEGV, 0, "vector exception" }, | 465 | { do_bad, SIGSEGV, 0, "vector exception" }, |
466 | { do_bad, SIGILL, BUS_ADRALN, "alignment exception" }, | 466 | { do_bad, SIGBUS, BUS_ADRALN, "alignment exception" }, |
467 | { do_bad, SIGKILL, 0, "terminal exception" }, | 467 | { do_bad, SIGKILL, 0, "terminal exception" }, |
468 | { do_bad, SIGILL, BUS_ADRALN, "alignment exception" }, | 468 | { do_bad, SIGBUS, BUS_ADRALN, "alignment exception" }, |
469 | /* Do we need runtime check ? */ | 469 | /* Do we need runtime check ? */ |
470 | #if __LINUX_ARM_ARCH__ < 6 | 470 | #if __LINUX_ARM_ARCH__ < 6 |
471 | { do_bad, SIGBUS, 0, "external abort on linefetch" }, | 471 | { do_bad, SIGBUS, 0, "external abort on linefetch" }, |