Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2017-11-15 14:39:17 +0000
committerMel Gorman <mgorman@suse.de>2017-11-15 14:39:20 +0000
commit15d1407f40be64c1148478ff59b41967195eb0e1 (patch)
treedd38fe96041710fbb96322546c3ff9678418c33a
parent68dfa608eeb59faf583bb4f25a44349e72745704 (diff)
smp/core: Use lockdep to assert IRQs are disabled/enabled
(bnc#1068202 Avoid irqs_disabled debugging checks in fast paths). suse-commit: cb25d928844ead11b3fcd624dd68567c8c0efd7c
-rw-r--r--kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/smp.c b/kernel/smp.c
index 81cfca9b4cc3..b69dff67a09b 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -213,7 +213,7 @@ static void flush_smp_call_function_queue(bool warn_cpu_offline)
call_single_data_t *csd, *csd_next;
static bool warned;
- WARN_ON(!irqs_disabled());
+ lockdep_assert_irqs_disabled();
head = this_cpu_ptr(&call_single_queue);
entry = llist_del_all(head);