From: Alexander Gordeev Date: Tue, 25 Jan 2011 23:07:16 +0000 (-0800) Subject: parport: make lockdep happy with waitlist_lock X-Git-Tag: v2.6.38-rc3~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbeb4b7ad5346516d2ee726395eb5722b25a0a01;p=pandora-kernel.git parport: make lockdep happy with waitlist_lock parport_unregister_device() should never be used when interrupts are enabled in hardware and irq handler is registered so there is no need to disable interrupts when using waitlist_lock. But there is no way to explain this subtle semantics to lockdep analyzer. So disable interrupts here too to simplify things. The price is negligible. Signed-off-by: Alexander Gordeev Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed