summaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/uinclude/linux/rcu.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/uinclude/linux/rcu.h')
-rw-r--r--tools/lib/lockdep/uinclude/linux/rcu.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/rcu.h b/tools/lib/lockdep/uinclude/linux/rcu.h
new file mode 100644
index 00000000000..4c99fcb5da2
--- /dev/null
+++ b/tools/lib/lockdep/uinclude/linux/rcu.h
@@ -0,0 +1,16 @@
+#ifndef _LIBLOCKDEP_RCU_H_
+#define _LIBLOCKDEP_RCU_H_
+
+int rcu_scheduler_active;
+
+static inline int rcu_lockdep_current_cpu_online(void)
+{
+ return 1;
+}
+
+static inline int rcu_is_cpu_idle(void)
+{
+ return 1;
+}
+
+#endif