Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8 from GNUtoo/master

Fix unaligned access with newer GCC
  • Loading branch information...
commit 37efe9e3ef0e12a207a92da21f28fe7d295c4aba 2 parents f885b2b + 6922ae2
@theterg theterg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  arch/arm/kernel/head.S
View
2  arch/arm/kernel/head.S
@@ -158,7 +158,7 @@ __secondary_data:
* registers.
*/
__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
Please sign in to comment.
Something went wrong with that request. Please try again.