tools/liblockdep: Add a stub for new rcu_is_watching
authorSasha Levin <sasha.levin@oracle.com>
Wed, 5 Feb 2014 22:58:37 +0000 (17:58 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 27 Feb 2014 02:22:00 +0000 (21:22 -0500)
Stub out rcu_is_watching(), prevents build error with the updated
tree.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
tools/lib/lockdep/uinclude/linux/rcu.h

index 4c99fcb..042ee8e 100644 (file)
@@ -13,4 +13,9 @@ static inline int rcu_is_cpu_idle(void)
        return 1;
 }
 
+static inline bool rcu_is_watching(void)
+{
+       return false;
+}
+
 #endif