summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep
diff options
context:
space:
mode:
authorLevin, Alexander (Sasha Levin) <alexander.levin@verizon.com>2017-05-25 12:58:53 +0000
committerIngo Molnar <mingo@kernel.org>2017-06-05 09:28:11 +0200
commitf9155dd8d9281adac4d8c95ca66f7db22cd292e1 (patch)
treea1640cbaf46677e1ebd2374ffe6618e5c78d6d18 /tools/lib/lockdep
parent12d83f7361724e5aa4299bb28e4caadc62ae482b (diff)
tools/lib/lockdep: Include err.h
This provides PTR_ERR() now used by lockdep. Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: a.p.zijlstra@chello.nl Cc: ben@decadent.org.uk Link: http://lkml.kernel.org/r/20170525130005.5947-18-alexander.levin@verizon.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/lockdep')
-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]))