aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-02-15 00:25:21 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-15 00:30:26 +0100
commit868a23a8043f2a3042dae60105c89bd4680187ba (patch)
tree2dfc742bfe6d4dc544a3c43f74c9aa72eea66d57
parent9833f8cb952b9aa3f98a71e7bef8820cee3261a0 (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>
-rw-r--r--kernel/lockdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index fc84a30483c..022d2ed7fd8 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
/*