summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/mv_machdep.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-10-27 03:13:26 +0000
committerian <ian@FreeBSD.org>2013-10-27 03:13:26 +0000
commit7b011cd9377544934fa3928d1f40d7d5973f7a9f (patch)
tree2845b26324c8412cced10240287b98ab1a90ff52 /sys/arm/mv/mv_machdep.c
parent7fa106116d54cc826abd69020bb0b4c4703eda2b (diff)
downloadFreeBSD-src-7b011cd9377544934fa3928d1f40d7d5973f7a9f.zip
FreeBSD-src-7b011cd9377544934fa3928d1f40d7d5973f7a9f.tar.gz
Retire arm_remap_nocache() and the data and constants associated with it.
The only remaining user was the code that allocates bounce pages for armv4 busdma. It's not clear why bounce pages would need uncached memory, but if that ever changes, kmem_alloc_attr() would be the way to get it.
Diffstat (limited to 'sys/arm/mv/mv_machdep.c')
-rw-r--r--sys/arm/mv/mv_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/mv/mv_machdep.c b/sys/arm/mv/mv_machdep.c
index 54c78bf..8dfeb7b 100644
--- a/sys/arm/mv/mv_machdep.c
+++ b/sys/arm/mv/mv_machdep.c
@@ -206,7 +206,7 @@ initarm_lastaddr(void)
while (1);
/* Platform-specific initialisation */
- return (fdt_immr_va - ARM_NOCACHE_KVA_SIZE);
+ return (fdt_immr_va);
}
void
OpenPOWER on IntegriCloud