aboutsummaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-softirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locking-selftest-softirq.h')
-rw-r--r--lib/locking-selftest-softirq.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/locking-selftest-softirq.h b/lib/locking-selftest-softirq.h
new file mode 100644
index 000000000000..a83de2a04ace
--- /dev/null
+++ b/lib/locking-selftest-softirq.h
@@ -0,0 +1,9 @@
1#undef IRQ_DISABLE
2#undef IRQ_ENABLE
3#undef IRQ_ENTER
4#undef IRQ_EXIT
5
6#define IRQ_DISABLE SOFTIRQ_DISABLE
7#define IRQ_ENABLE SOFTIRQ_ENABLE
8#define IRQ_ENTER SOFTIRQ_ENTER
9#define IRQ_EXIT SOFTIRQ_EXIT