Forráskód Böngészése

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>
Sasha Levin 12 éve
szülő
commit
9e3513b7af
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      tools/lib/lockdep/uinclude/linux/rcu.h

+ 5 - 0
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