Skip to content

Commit

Permalink
lockdep: build fix for !PROVE_LOCKING
Browse files Browse the repository at this point in the history
The __GFP_FS annotations fail to build with CONFIG_LOCKDEP=y,
CONFIG_PROVE_LOCKING=n, ammend that.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Feb 14, 2009
1 parent 9833f8c commit 868a23a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kernel/lockdep.c
Original file line number Diff line number Diff line change
@@ -2396,6 +2396,10 @@ static inline int separate_irq_context(struct task_struct *curr,
return 0;
}

void lockdep_trace_alloc(gfp_t gfp_mask)
{
}

#endif

/*

0 comments on commit 868a23a

Please sign in to comment.