Commit 1fbf6281 authored by Gilles Chanteperdrix's avatar Gilles Chanteperdrix Committed by Philippe Gerum
Browse files

x86/ipipe: avoid crash due to false positive

parent 1c85e9ce
......@@ -74,7 +74,7 @@ static inline void load_mm_ldt(struct mm_struct *mm)
else
clear_LDT();
DEBUG_LOCKS_WARN_ON(preemptible());
DEBUG_LOCKS_WARN_ON(preemptible() && !hard_irqs_disabled());
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment