ARM: 6269/1: Add 'code' parameter for hook_fault_code()
[pandora-kernel.git] / arch / arm / mm / alignment.c
index 53a6096..77cfdbe 100644 (file)
@@ -924,8 +924,10 @@ static int __init alignment_init(void)
                ai_usermode = UM_FIXUP;
        }
 
-       hook_fault_code(1, do_alignment, SIGBUS, "alignment exception");
-       hook_fault_code(3, do_alignment, SIGBUS, "alignment exception");
+       hook_fault_code(1, do_alignment, SIGBUS, BUS_ADRALN,
+                       "alignment exception");
+       hook_fault_code(3, do_alignment, SIGBUS, BUS_ADRALN,
+                       "alignment exception");
 
        return 0;
 }