Commit 868a23a8 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar

lockdep: build fix for !PROVE_LOCKING

The __GFP_FS annotations fail to build with CONFIG_LOCKDEP=y,
CONFIG_PROVE_LOCKING=n, ammend that.
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9833f8cb
...@@ -2396,6 +2396,10 @@ static inline int separate_irq_context(struct task_struct *curr, ...@@ -2396,6 +2396,10 @@ static inline int separate_irq_context(struct task_struct *curr,
return 0; return 0;
} }
void lockdep_trace_alloc(gfp_t gfp_mask)
{
}
#endif #endif
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment