PERFORCE change 128357 for review

Kip Macy kmacy at FreeBSD.org
Tue Oct 30 11:52:07 PDT 2007


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

Change 128357 by kmacy at kmacy_home:ethng on 2007/10/30 18:52:00

	switch to kproc calls

Affected files ...

.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_multiq.c#27 edit

Differences ...

==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_multiq.c#27 (text+ko) ====

@@ -629,7 +629,7 @@
 	t3_free_qset(qs->port->adapter, qs);
 
 	qs->qs_flags &= ~QS_RUNNING;
-	kthread_exit(0);
+	kproc_exit(0);
 }
 
 static int
@@ -666,7 +666,7 @@
 			qs->qs_cpuid = ((pi->first_qset + j) % mp_ncpus);
 			device_printf(sc->dev, "starting thread for %d\n", qs->qs_cpuid);
 
-			kthread_create(cxgb_pcpu_start_proc, qs, &p,
+			kproc_create(cxgb_pcpu_start_proc, qs, &p,
 			    RFNOWAIT, 0, "cxgbsp");
 			DELAY(200);
 		}


More information about the p4-projects mailing list