tools/lib/lockdep: Add dummy current_gfp_context()

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]>
This commit is contained in:
Levin, Alexander (Sasha Levin) 2017-05-25 12:58:57 +00:00 • committed by Ingo Molnar
commit 3f5a3934f4

View file

@ -54,5 +54,8 @@ static inline int lockdep_warn(int condition)
#endif
#define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__)
#define pr_warn pr_err
#define current_gfp_context(k) 0
#endif