]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
lockdep: build fix for !PROVE_LOCKING
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sat, 14 Feb 2009 23:25:21 +0000 (00:25 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 14 Feb 2009 23:30:26 +0000 (00:30 +0100)
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>
kernel/lockdep.c

index fc84a30483c258f30cdf3fe5d23a626ad3209dd5..022d2ed7fd8bf6644f7fb636dc4f5bbd361066b1 100644 (file)
@@ -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
 
 /*