From: Peter Zijlstra Date: Sat, 14 Feb 2009 23:25:21 +0000 (+0100) Subject: lockdep: build fix for !PROVE_LOCKING X-Git-Tag: v2.6.30-rc1~216^2~9 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=868a23a8043f2a3042dae60105c89bd4680187ba;p=~shefty%2Frdma-dev.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 /*