Skip to content

Commit

Permalink
tools/liblockdep: Add a stub for new rcu_is_watching
Browse files Browse the repository at this point in the history
Stub out rcu_is_watching(), prevents build error with the updated
tree.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
  • Loading branch information
Sasha Levin committed Feb 27, 2014
1 parent 1ddc1ff commit 9e3513b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/lib/lockdep/uinclude/linux/rcu.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@ static inline int rcu_is_cpu_idle(void)
return 1;
}

static inline bool rcu_is_watching(void)
{
return false;
}

#endif

0 comments on commit 9e3513b

Please sign in to comment.