summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-04-03 18:20:39 +0000
committerraj <raj@FreeBSD.org>2008-04-03 18:20:39 +0000
commit6eb81d8e9b498a67f3a1528af0cef34b760e2034 (patch)
treefc3d5df6ae0155489f3725ac83d2c0e1deaae13c /sys/arm/xscale
parent7dc245de4b5f795aac00fe2f7f485f4587e7985b (diff)
downloadFreeBSD-src-6eb81d8e9b498a67f3a1528af0cef34b760e2034.zip
FreeBSD-src-6eb81d8e9b498a67f3a1528af0cef34b760e2034.tar.gz
Fix AVILA build.
Reviewed by: sam Approved by: cognet(mentor)
Diffstat (limited to 'sys/arm/xscale')
-rw-r--r--sys/arm/xscale/ixp425/avila_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c
index 9ab2f7f..6aed195 100644
--- a/sys/arm/xscale/ixp425/avila_machdep.c
+++ b/sys/arm/xscale/ixp425/avila_machdep.c
@@ -256,7 +256,7 @@ void *
initarm(void *arg, void *arg2)
{
struct pv_addr kernel_l1pt;
- int loop;
+ int loop, i;
u_int l1pagetable;
vm_offset_t freemempos;
vm_offset_t freemem_pt;
@@ -266,7 +266,7 @@ initarm(void *arg, void *arg2)
uint32_t memsize;
set_cpufuncs();
- lastaddr = fake_reload_metadata();
+ lastaddr = fake_preload_metadata();
pcpu_init(pcpup, 0, sizeof(struct pcpu));
PCPU_SET(curthread, &thread0);
OpenPOWER on IntegriCloud