From: Doug Thompson Date: Thu, 19 Jul 2007 08:50:30 +0000 (-0700) Subject: drivers/edac: fix workq reset deadlock X-Git-Tag: v2.6.23-rc1~273 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf52fa4a26567bfbf5b1d30f84cf0226e61d26cd;p=pandora-kernel.git drivers/edac: fix workq reset deadlock Fix mutex locking deadlock on the device controller linked list. Was calling a lock then a function that could call the same lock. Moved the cancel workq function to outside the lock Added some short circuit logic in the workq code Added comments of description Code tidying Signed-off-by: Doug Thompson Cc: Greg KH Cc: Alan Cox Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed