summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2014-02-05 17:58:37 -0500
committerSasha Levin <sasha.levin@oracle.com>2014-02-26 21:22:00 -0500
commit9e3513b7af9ef3b6225f539181c2d94328bd18f7 (patch)
tree310ec1bc50f9d9139a520fd2f86bab0abf02affb /tools/lib
parent1ddc1ffa2f8219e0c55c7f800048533e1ce8dee5 (diff)
downloadlinux-stable-9e3513b7af9ef3b6225f539181c2d94328bd18f7.tar.gz
linux-stable-9e3513b7af9ef3b6225f539181c2d94328bd18f7.tar.bz2
linux-stable-9e3513b7af9ef3b6225f539181c2d94328bd18f7.zip
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 4c99fcb5da27..042ee8e463c9 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