PERFORCE change 84443 for review

John Baldwin jhb at FreeBSD.org
Wed Sep 28 11:01:00 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=84443

Change 84443 by jhb at jhb_slimer on 2005/09/28 18:00:43

	Revert.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/mp_machdep.c#87 edit
.. //depot/projects/smpng/sys/i386/include/smptests.h#9 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/mp_machdep.c#87 (text+ko) ====

@@ -966,16 +966,16 @@
 }
 
 #ifdef COUNT_XINVLTLB_HITS
-u_long xhits_gbl[MAXCPU];
-u_long xhits_pg[MAXCPU];
-u_long xhits_rng[MAXCPU];
+u_int xhits_gbl[MAXCPU];
+u_int xhits_pg[MAXCPU];
+u_int xhits_rng[MAXCPU];
 SYSCTL_NODE(_debug, OID_AUTO, xhits, CTLFLAG_RW, 0, "");
 SYSCTL_OPAQUE(_debug_xhits, OID_AUTO, global, CTLFLAG_RW, &xhits_gbl,
-    sizeof(xhits_gbl), "LU", "");
+    sizeof(xhits_gbl), "IU", "");
 SYSCTL_OPAQUE(_debug_xhits, OID_AUTO, page, CTLFLAG_RW, &xhits_pg,
-    sizeof(xhits_pg), "LU", "");
+    sizeof(xhits_pg), "IU", "");
 SYSCTL_OPAQUE(_debug_xhits, OID_AUTO, range, CTLFLAG_RW, &xhits_rng,
-    sizeof(xhits_rng), "LU", "");
+    sizeof(xhits_rng), "IU", "");
 
 u_int ipi_global;
 u_int ipi_page;

==== //depot/projects/smpng/sys/i386/include/smptests.h#9 (text+ko) ====

@@ -48,8 +48,8 @@
 /*
  * Per-CPU IPI interrupt counters.
  *
+#define	COUNT_IPIS
  */
-#define	COUNT_IPIS
 
 /*
  * Address of POST hardware port.


More information about the p4-projects mailing list