summaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/uinclude/linux/rcu.h
diff options
context:
space:
mode:
authorLinus Torvalds2014-03-03 19:48:48 +0100
committerLinus Torvalds2014-03-03 19:48:48 +0100
commit148b59c60cd4a2745d8f727c2579cffe4a88afd8 (patch)
treeca8f53b1718b3e76cf4b6b5bf759c8e49028d762 /tools/lib/lockdep/uinclude/linux/rcu.h
parentMerge tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette... (diff)
parentMerge branch 'liblockdep-fixes' of https://github.com/sashalevin/liblockdep i... (diff)
downloadkernel-qcow2-linux-148b59c60cd4a2745d8f727c2579cffe4a88afd8.tar.gz
kernel-qcow2-linux-148b59c60cd4a2745d8f727c2579cffe4a88afd8.tar.xz
kernel-qcow2-linux-148b59c60cd4a2745d8f727c2579cffe4a88afd8.zip
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull liblockdep fixes from Ingo Molnar: "A handful of build fixes for liblockdep" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: tools/liblockdep: Use realpath for srctree and objtree tools/liblockdep: Add a stub for new rcu_is_watching tools/liblockdep: Mark runtests.sh as executable tools/liblockdep: Add include directory to allow tests to compile tools/liblockdep: Fix include of asm/hash.h tools/liblockdep: Fix initialization code path
Diffstat (limited to 'tools/lib/lockdep/uinclude/linux/rcu.h')
-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