]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
pci: Use __wake_up_all_locked pci_unblock_user_cfg_access()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Nov 2011 23:07:16 +0000 (00:07 +0100)
committerMichal Sojka <sojka@merica.cz>
Sun, 13 Sep 2015 07:47:05 +0000 (09:47 +0200)
commit1eaf67be0c910bec98dfe71fb2c71372db4e757a
tree26943a191699449f86cf75c7e8a8bdfb506ee6e0
parent3e9cf204d9fbadd56f8e1befa9cc4c126ed8810a
pci: Use __wake_up_all_locked pci_unblock_user_cfg_access()

The waitqueue is protected by the pci_lock, so we can just avoid to
lock the waitqueue lock itself. That prevents the
might_sleep()/scheduling while atomic problem on RT

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable-rt@vger.kernel.org
drivers/pci/access.c