public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.0-ac9: bug in drivers/message/fusion/mptctl.c
@ 2001-01-17 16:50 Manfred Spraul
  0 siblings, 0 replies; only message in thread
From: Manfred Spraul @ 2001-01-17 16:50 UTC (permalink / raw)
  To: linux-kernel, alan, Steve.Ralston

AFAICS mptctl_lock() and mptctl_unlock() are just buggy implementations
of down() and up().

At least the 'current->state = TASK_UNINTERRUPTIBLE' must be moved into
the while(1) loop, or both function could be replaced with a semaphore.

--
	Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-17 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-17 16:50 2.4.0-ac9: bug in drivers/message/fusion/mptctl.c Manfred Spraul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox