summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2012-07-02 14:03:19 +0000
committerbrueffer <brueffer@FreeBSD.org>2012-07-02 14:03:19 +0000
commit180d34b93e2d4611ce0c747c39d1be10b217d19d (patch)
tree7f9ffa21ecea0bdf19e3987a5302352c1a8f5638 /sys/i386
parent9b048bab457b5fcde53992abb0fc6111239362a6 (diff)
downloadFreeBSD-src-180d34b93e2d4611ce0c747c39d1be10b217d19d.zip
FreeBSD-src-180d34b93e2d4611ce0c747c39d1be10b217d19d.tar.gz
Fix XEN build, broken in r237924.
Reported by: gcooper Pointy hat: brueffer
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 8337589..de105f0 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -2176,13 +2176,13 @@ basemem_setup(void)
static void
getmemsize(int first)
{
- int has_smap, off, physmap_idx, pa_indx, da_indx, res;
+ int has_smap, off, physmap_idx, pa_indx, da_indx;
u_long physmem_tunable, memtest;
vm_paddr_t physmap[PHYSMAP_SIZE];
pt_entry_t *pte;
quad_t dcons_addr, dcons_size;
#ifndef XEN
- int hasbrokenint12, i;
+ int hasbrokenint12, i, res;
u_int extmem;
struct vm86frame vmf;
struct vm86context vmc;
OpenPOWER on IntegriCloud