Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 13:12:19 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 18491 for review
Message-ID:  <200210012012.g91KCJWr078297@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18491

Change 18491 by jhb@jhb_laptop on 2002/10/01 13:12:09

	Acquire Giant for pcic's event thread.

Affected files ...

.. //depot/projects/smpng/sys/dev/pcic/i82365.c#4 edit

Differences ...

==== //depot/projects/smpng/sys/dev/pcic/i82365.c#4 (text+ko) ====

@@ -502,6 +502,7 @@
 	int s;
 	struct pcic_softc *sc = h->sc;
 
+	mtx_lock(&Giant);
 	while (h->shutdown == 0) {
 		s = splhigh();
 		if ((pe = STAILQ_FIRST(&h->events)) == NULL) {

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210012012.g91KCJWr078297>