Skip to contentSkip to conversation

2.4.0-ac9: bug in drivers/message/fusion/mptctl.c

DISCUSSION Manfred Spraul 1 participant 1 message Jan 17, 2001

lore
Share & tools
lore
#0 lore raw

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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/