diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-02-14 18:25:21 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-14 18:30:26 -0500 |
commit | 868a23a8043f2a3042dae60105c89bd4680187ba (patch) | |
tree | 2dfc742bfe6d4dc544a3c43f74c9aa72eea66d57 /kernel/lockdep.c | |
parent | 9833f8cb952b9aa3f98a71e7bef8820cee3261a0 (diff) |
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: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index fc84a30483c2..022d2ed7fd8b 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -2396,6 +2396,10 @@ static inline int separate_irq_context(struct task_struct *curr, | |||
2396 | return 0; | 2396 | return 0; |
2397 | } | 2397 | } |
2398 | 2398 | ||
2399 | void lockdep_trace_alloc(gfp_t gfp_mask) | ||
2400 | { | ||
2401 | } | ||
2402 | |||
2399 | #endif | 2403 | #endif |
2400 | 2404 | ||
2401 | /* | 2405 | /* |