summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2014-02-05 23:58:37 +0100
committerSasha Levin <sasha.levin@oracle.com>2014-02-27 03:22:00 +0100
commit9e3513b7af9ef3b6225f539181c2d94328bd18f7 (patch)
tree310ec1bc50f9d9139a520fd2f86bab0abf02affb
parenttools/liblockdep: Mark runtests.sh as executable (diff)
downloadlinux-9e3513b7af9ef3b6225f539181c2d94328bd18f7.tar.xz
linux-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>
-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