lockdep: annotate reclaim context (__GFP_NOFS), fix SLOB
authorIngo Molnar <mingo@elte.hu>
Sun, 15 Mar 2009 05:03:11 +0000 (06:03 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Mar 2009 20:59:44 +0000 (22:59 +0200)
Impact: build fix

fix typo in mm/slob.c:

 mm/slob.c:469: error: ‘flags’ undeclared (first use in this function)
 mm/slob.c:469: error: (Each undeclared identifier is reported only once
 mm/slob.c:469: error: for each function it appears in.)

Cc: Nick Piggin <npiggin@suse.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090128135457.350751756@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/slob.c

index 1264799..4b1c0c1 100644 (file)
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -464,7 +464,7 @@ void *__kmalloc_node(size_t size, gfp_t gfp, int node)
        unsigned int *m;
        int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN);
 
-       lockdep_trace_alloc(flags);
+       lockdep_trace_alloc(gfp);
 
        if (size < PAGE_SIZE - align) {
                if (!size)