summaryrefslogtreecommitdiff
path: root/tests/locking-selftest-hardirq.h
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>2008-07-28 23:29:09 +0530
committerSam Ravnborg <sam@ravnborg.org>2008-07-28 21:40:01 +0200
commit8322958b20ecb4dd6fadf14586d80d30d6a45a41 (patch)
tree22e9cb1e9a138fd5e787e2649f92798a2ca64b95 /tests/locking-selftest-hardirq.h
parenta4e7e33e50550d0f8b8f87487014527422a787af (diff)
Move locking selftests to tests/
Move the locking-selftest infrastructure to tests/ Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'tests/locking-selftest-hardirq.h')
-rw-r--r--tests/locking-selftest-hardirq.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/locking-selftest-hardirq.h b/tests/locking-selftest-hardirq.h
new file mode 100644
index 000000000000..10d4a150b259
--- /dev/null
+++ b/tests/locking-selftest-hardirq.h
@@ -0,0 +1,9 @@
+#undef IRQ_DISABLE
+#undef IRQ_ENABLE
+#undef IRQ_ENTER
+#undef IRQ_EXIT
+
+#define IRQ_ENABLE HARDIRQ_ENABLE
+#define IRQ_DISABLE HARDIRQ_DISABLE
+#define IRQ_ENTER HARDIRQ_ENTER
+#define IRQ_EXIT HARDIRQ_EXIT