summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-04-26 11:54:25 +0000
committerandrew <andrew@FreeBSD.org>2015-04-26 11:54:25 +0000
commit50890a3c11b4b48c4c5f9098c943cf534deeab9d (patch)
tree50fcc8b496186a78e5ccaba3203236a62b17636c /sys/arm
parent9ec79fef30fe89e550777c4b98ec3ed2cee8fbb2 (diff)
downloadFreeBSD-src-50890a3c11b4b48c4c5f9098c943cf534deeab9d.zip
FreeBSD-src-50890a3c11b4b48c4c5f9098c943cf534deeab9d.tar.gz
Use ARMv7 style unaligned access on ARMv6. We set this bit in locore, but
it was missing from here.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/cpufunc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/arm/cpufunc.c b/sys/arm/arm/cpufunc.c
index f98e91a..a3c8239 100644
--- a/sys/arm/arm/cpufunc.c
+++ b/sys/arm/arm/cpufunc.c
@@ -1186,7 +1186,8 @@ arm11x6_setup(void)
CPU_CONTROL_32BD_ENABLE |
CPU_CONTROL_LABT_ENABLE |
CPU_CONTROL_SYST_ENABLE |
- CPU_CONTROL_IC_ENABLE;
+ CPU_CONTROL_IC_ENABLE |
+ CPU_CONTROL_UNAL_ENABLE;
/*
* "write as existing" bits
OpenPOWER on IntegriCloud