aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevin, Alexander (Sasha Levin) <[email protected]>2017-05-25 12:58:53 +0000
committerIngo Molnar <[email protected]>2017-06-05 09:28:11 +0200
commitf9155dd8d9281adac4d8c95ca66f7db22cd292e1 (patch)
treea1640cbaf46677e1ebd2374ffe6618e5c78d6d18
parent12d83f7361724e5aa4299bb28e4caadc62ae482b (diff)
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]>
-rw-r--r--tools/lib/lockdep/uinclude/linux/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/kernel.h b/tools/lib/lockdep/uinclude/linux/kernel.h
index faa98cc7971a..75ff4b1bbcac 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]))