[tip:core/urgent] tools/liblockdep: Add a stub for new rcu_is_watching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  9e3513b7af9ef3b6225f539181c2d94328bd18f7
Gitweb:     http://git.kernel.org/tip/9e3513b7af9ef3b6225f539181c2d94328bd18f7
Author:     Sasha Levin <sasha.levin@xxxxxxxxxx>
AuthorDate: Wed, 5 Feb 2014 17:58:37 -0500
Committer:  Sasha Levin <sasha.levin@xxxxxxxxxx>
CommitDate: Wed, 26 Feb 2014 21:22:00 -0500

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@xxxxxxxxxx>
---
 tools/lib/lockdep/uinclude/linux/rcu.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/lib/lockdep/uinclude/linux/rcu.h b/tools/lib/lockdep/uinclude/linux/rcu.h
index 4c99fcb..042ee8e 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
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux