summaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/linux/preempt.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/radix-tree/linux/preempt.h')
-rw-r--r--tools/testing/radix-tree/linux/preempt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/linux/preempt.h b/tools/testing/radix-tree/linux/preempt.h
new file mode 100644
index 000000000000..6210672e3baa
--- /dev/null
+++ b/tools/testing/radix-tree/linux/preempt.h
@@ -0,0 +1,4 @@
+/* */
+
+#define preempt_disable() do { } while (0)
+#define preempt_enable() do { } while (0)
OpenPOWER on IntegriCloud