diff --git a/arch/arm/mm/alignment.c b/arch/arm/mm/alignment.c index 4cfefa20ee983a76b37256321c9ed495b966add7..054e995d2f5b290dcb903828e15b17b4a1f8e95f 100644 --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c @@ -974,12 +974,10 @@ static int __init alignment_init(void) return -ENOMEM; #endif -#ifdef CONFIG_CPU_CP15 if (cpu_is_v6_unaligned()) { set_cr(__clear_cr(CR_A)); ai_usermode = safe_usermode(ai_usermode, false); } -#endif hook_fault_code(FAULT_CODE_ALIGNMENT, do_alignment, SIGBUS, BUS_ADRALN, "alignment exception");