提交 f9155dd8 编写于 作者: L Levin, Alexander (Sasha Levin) 提交者: Ingo Molnar

tools/lib/lockdep: Include err.h

This provides PTR_ERR() now used by lockdep.
Signed-off-by: NSasha 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.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 12d83f73
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <linux/rcu.h> #include <linux/rcu.h>
#include <linux/hardirq.h> #include <linux/hardirq.h>
#include <linux/kern_levels.h> #include <linux/kern_levels.h>
#include <linux/err.h>
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册