@@ -106,10 +106,10 @@ static int safe_usermode(int new_usermode, bool warn)
* making any progress.
*/
if (cpu_is_v6_unaligned() && !(new_usermode & (UM_FIXUP | UM_SIGNAL))) {
- new_usermode |= UM_FIXUP;
+ new_usermode |= UM_SIGNAL;
if (warn)
- printk(KERN_WARNING "alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode.\n");
+ printk(KERN_WARNING "alignment: ignoring faults is unsafe on this CPU. Defaulting to signal mode.\n");
}
return new_usermode;
@@ -971,7 +971,7 @@ static int __init alignment_init(void)
cr_alignment &= ~CR_A;
cr_no_alignment &= ~CR_A;
set_cr(cr_alignment);
- ai_usermode = safe_usermode(ai_usermode, false);
+ ai_usermode = safe_usermode(ai_usermode | UM_WARN, false);
}
#endif