PERFORCE change 97529 for review

Kip Macy kmacy at FreeBSD.org
Sat May 20 19:20:32 UTC 2006


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

Change 97529 by kmacy at kmacy_storage:sun4v_work on 2006/05/20 19:18:55

	compile fix

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/nexus.c#10 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/nexus.c#10 (text+ko) ====

@@ -330,7 +330,6 @@
 	nexus_id_t    *nidp;
 	driver_intr_t *handler;
 	void          *harg;
-	int	state, valid;
 
 	nidp = (nexus_id_t *)arg;
 #if 1
@@ -346,6 +345,7 @@
 
 #ifdef DEBUG
 	if (nidp->dh == 0x7c0) {
+		int	state, valid;
 		hvio_intr_getstate(nidp->nid_ihdl, &state);
 		hvio_intr_getvalid(nidp->nid_ihdl, &valid);
 		printf("i: %#lx, s: %d, v: %d\n", nidp->nid_ihdl, state, valid);


More information about the p4-projects mailing list