diff options
author | 2021-02-08 20:44:00 +0100 | |
---|---|---|
committer | 2021-02-10 16:46:29 -0600 | |
commit | 9a1471222189bdab467db0a0043c66b95142d5a5 (patch) | |
tree | 83848f18d577e42f19b34957a9839e1751d20366 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Apply CONFIG_PCI_DEBUG to entire drivers/pci hierarchy (diff) | |
download | wireguard-linux-9a1471222189bdab467db0a0043c66b95142d5a5.tar.xz wireguard-linux-9a1471222189bdab467db0a0043c66b95142d5a5.zip |
PCI: Remove WARN_ON(in_interrupt())
WARN_ON(in_interrupt()) is used for historic reasons to ensure proper usage
of down_read() and predates might_sleep() and lockdep.
down_read() has might_sleep() which also catches users from preemption
disabled regions while in_interrupt() does not.
Remove WARN_ON(in_interrupt()) because there are now better debugging
facilities.
Link: https://lore.kernel.org/r/20210208194400.384003-1-bigeasy@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions