diff options
Diffstat (limited to 'arch/arm/mm/alignment.c')
| -rw-r--r-- | arch/arm/mm/alignment.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mm/alignment.c b/arch/arm/mm/alignment.c index 53a609680c10..77cfdbed9501 100644 --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c | |||
| @@ -924,8 +924,10 @@ 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, SIGBUS, "alignment exception"); | 927 | hook_fault_code(1, do_alignment, SIGBUS, BUS_ADRALN, |
| 928 | hook_fault_code(3, do_alignment, SIGBUS, "alignment exception"); | 928 | "alignment exception"); |
| 929 | hook_fault_code(3, do_alignment, SIGBUS, BUS_ADRALN, | ||
| 930 | "alignment exception"); | ||
| 929 | 931 | ||
| 930 | return 0; | 932 | return 0; |
| 931 | } | 933 | } |
