From: Peter Zijlstra Date: Sat, 14 Feb 2009 23:25:21 +0000 (+0100) Subject: lockdep: build fix for !PROVE_LOCKING X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=868a23a8043f2a3042dae60105c89bd4680187ba;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Ingo Molnar --- 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 /*