Skip to content

Commit f9155dd

Browse files
Levin, Alexander (Sasha Levin)ingomolnar
authored andcommitted
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>
1 parent 12d83f7 commit f9155dd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • tools/lib/lockdep/uinclude/linux

‎tools/lib/lockdep/uinclude/linux/kernel.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <linux/rcu.h>
77
#include <linux/hardirq.h>
88
#include <linux/kern_levels.h>
9+
#include <linux/err.h>
910

1011
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
1112

0 commit comments

Comments
 (0)