mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
61d4595eed
commit
3f5a3934f4
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue