diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2014-02-05 17:58:37 -0500 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2014-02-26 21:22:00 -0500 |
commit | 9e3513b7af9ef3b6225f539181c2d94328bd18f7 (patch) | |
tree | 310ec1bc50f9d9139a520fd2f86bab0abf02affb /tools | |
parent | 1ddc1ffa2f8219e0c55c7f800048533e1ce8dee5 (diff) | |
download | linux-9e3513b7af9ef3b6225f539181c2d94328bd18f7.tar.gz linux-9e3513b7af9ef3b6225f539181c2d94328bd18f7.tar.bz2 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>
Diffstat (limited to 'tools')
-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 |