diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2014-02-05 23:58:37 +0100 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2014-02-27 03:22:00 +0100 |
commit | 9e3513b7af9ef3b6225f539181c2d94328bd18f7 (patch) | |
tree | 310ec1bc50f9d9139a520fd2f86bab0abf02affb | |
parent | tools/liblockdep: Mark runtests.sh as executable (diff) | |
download | linux-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.h | 5 |
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 |