From: Levin, Alexander (Sasha Levin) Date: Thu, 25 May 2017 12:58:53 +0000 (+0000) Subject: tools/lib/lockdep: Include err.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f9155dd8d9281adac4d8c95ca66f7db22cd292e1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tools/lib/lockdep: Include err.h This provides PTR_ERR() now used by lockdep. Signed-off-by: Sasha Levin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner 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 --- 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 #include #include +#include #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))