svn commit: r237996 - head/sys/i386/i386

Christian Brueffer brueffer at FreeBSD.org
Mon Jul 2 14:03:20 UTC 2012


Author: brueffer
Date: Mon Jul  2 14:03:19 2012
New Revision: 237996
URL: http://svn.freebsd.org/changeset/base/237996

Log:
  Fix XEN build, broken in r237924.
  
  Reported by:	gcooper
  Pointy hat:	brueffer

Modified:
  head/sys/i386/i386/machdep.c

Modified: head/sys/i386/i386/machdep.c
==============================================================================
--- head/sys/i386/i386/machdep.c	Mon Jul  2 11:46:47 2012	(r237995)
+++ head/sys/i386/i386/machdep.c	Mon Jul  2 14:03:19 2012	(r237996)
@@ -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;


More information about the svn-src-all mailing list