Permalink
Browse files

Merge pull request #8 from GNUtoo/master

Fix unaligned access with newer GCC
  • Loading branch information...
2 parents f885b2b + 6922ae2 commit 37efe9e3ef0e12a207a92da21f28fe7d295c4aba @theterg theterg committed Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 arch/arm/kernel/head.S
View
@@ -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

0 comments on commit 37efe9e

Please sign in to comment.