Commit-ID:  f9155dd8d9281adac4d8c95ca66f7db22cd292e1
Gitweb:     http://git.kernel.org/tip/f9155dd8d9281adac4d8c95ca66f7db22cd292e1
Author:     Levin, Alexander (Sasha Levin) <[email protected]>
AuthorDate: Thu, 25 May 2017 12:58:53 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 5 Jun 2017 09:28:11 +0200

tools/lib/lockdep: Include err.h

This provides PTR_ERR() now used by lockdep.

Signed-off-by: Sasha Levin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: 
http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
 tools/lib/lockdep/uinclude/linux/kernel.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/lib/lockdep/uinclude/linux/kernel.h 
b/tools/lib/lockdep/uinclude/linux/kernel.h
index faa98cc..75ff4b1 100644
--- a/tools/lib/lockdep/uinclude/linux/kernel.h
+++ b/tools/lib/lockdep/uinclude/linux/kernel.h
@@ -6,6 +6,7 @@
 #include <linux/rcu.h>
 #include <linux/hardirq.h>
 #include <linux/kern_levels.h>
+#include <linux/err.h>
 
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
 

Reply via email to