diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-02-15 00:25:21 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-15 00:30:26 +0100 |
commit | 868a23a8043f2a3042dae60105c89bd4680187ba (patch) | |
tree | 2dfc742bfe6d4dc544a3c43f74c9aa72eea66d57 /kernel/lockdep.c | |
parent | 9833f8cb952b9aa3f98a71e7bef8820cee3261a0 (diff) | |
download | lwn-868a23a8043f2a3042dae60105c89bd4680187ba.tar.gz lwn-868a23a8043f2a3042dae60105c89bd4680187ba.zip |
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, return 0; } +void lockdep_trace_alloc(gfp_t gfp_mask) +{ +} + #endif /* |