summaryrefslogtreecommitdiff
path: root/tools/lib
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2014-02-05 22:58:37 (GMT)
committerSasha Levin <sasha.levin@oracle.com>2014-02-27 02:22:00 (GMT)
commit9e3513b7af9ef3b6225f539181c2d94328bd18f7 (patch)
tree310ec1bc50f9d9139a520fd2f86bab0abf02affb /tools/lib
parent1ddc1ffa2f8219e0c55c7f800048533e1ce8dee5 (diff)
downloadlinux-9e3513b7af9ef3b6225f539181c2d94328bd18f7.tar.xz
tools/liblockdep: Add a stub for new rcu_is_watching
Stub out rcu_is_watching(), prevents build error with the updated tree. Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/lockdep/uinclude/linux/rcu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/rcu.h b/tools/lib/lockdep/uinclude/linux/rcu.h
index 4c99fcb..042ee8e 100644
--- a/tools/lib/lockdep/uinclude/linux/rcu.h
+++ b/tools/lib/lockdep/uinclude/linux/rcu.h
@@ -13,4 +13,9 @@ static inline int rcu_is_cpu_idle(void)
return 1;
}
+static inline bool rcu_is_watching(void)
+{
+ return false;
+}
+
#endif