summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-07-20 22:39:24 +0000
committercognet <cognet@FreeBSD.org>2004-07-20 22:39:24 +0000
commitcc5ead7b771d40df45ffd5d6618c411590baa6ca (patch)
tree413654eda6551196bb213a98c9ffd1f21344cf7e /sys
parentf6936a77a82c51169abd8fb14ada084d03432027 (diff)
downloadFreeBSD-src-cc5ead7b771d40df45ffd5d6618c411590baa6ca.zip
FreeBSD-src-cc5ead7b771d40df45ffd5d6618c411590baa6ca.tar.gz
Uncomment the vector relocation code.
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/cpufunc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arm/arm/cpufunc.c b/sys/arm/arm/cpufunc.c
index 65e3acd..1c8dbcc 100644
--- a/sys/arm/arm/cpufunc.c
+++ b/sys/arm/arm/cpufunc.c
@@ -54,6 +54,8 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/lock.h>
#include <sys/mutex.h>
+#include <sys/bus.h>
+#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/disassem.h>
@@ -2079,10 +2081,8 @@ ixp12x0_setup(args)
cpuctrl |= CPU_CONTROL_BEND_ENABLE;
#endif
-#if 0
if (vector_page == ARM_VECTORS_HIGH)
cpuctrl |= CPU_CONTROL_VECRELOC;
-#endif
/* Clear out the cache */
cpu_idcache_wbinv_all();
@@ -2147,10 +2147,8 @@ xscale_setup(args)
cpuctrl |= CPU_CONTROL_BEND_ENABLE;
#endif
-#if 0
if (vector_page == ARM_VECTORS_HIGH)
cpuctrl |= CPU_CONTROL_VECRELOC;
-#endif
/* Clear out the cache */
cpu_idcache_wbinv_all();
OpenPOWER on IntegriCloud