Merge branch 'kexec/idmap' of git://git.kernel.org/pub/scm/linux/kernel/git/will...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / kernel / head.S
index 64e9943ea4f0cfd67110152a3ec7a80d4dc5dbee..fb2945be5a51386d5a843c6886e7b0e724cf06cc 100644 (file)
@@ -360,7 +360,7 @@ __secondary_data:
  *  r13 = *virtual* address to jump to upon completion
  */
 __enable_mmu:
-#ifdef CONFIG_ALIGNMENT_TRAP
+#if defined(CONFIG_ALIGNMENT_TRAP) && __LINUX_ARM_ARCH__ < 6
        orr     r0, r0, #CR_A
 #else
        bic     r0, r0, #CR_A