git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irq_work: Use lockdep to assert IRQs are disabled/enabled
[sfrench/cifs-2.6.git]
/
kernel
/
irq_work.c
diff --git
a/kernel/irq_work.c
b/kernel/irq_work.c
index bcf107ce085450552c17d6b045816cd4656e97c0..899579657a0aadccd3a553c59f49c6e80dd66ec6 100644
(file)
--- a/
kernel/irq_work.c
+++ b/
kernel/irq_work.c
@@
-188,7
+188,7
@@
void irq_work_tick(void)
*/
void irq_work_sync(struct irq_work *work)
{
-
WARN_ON_ONCE(irqs_disabled()
);
+
lockdep_assert_irqs_enabled(
);
while (work->flags & IRQ_WORK_BUSY)
cpu_relax();