From: Ingo Molnar Date: Sun, 15 Mar 2009 05:03:11 +0000 (+0100) Subject: lockdep: annotate reclaim context (__GFP_NOFS), fix SLOB X-Git-Tag: MMI-PSA29.97-13-9~28004^2~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=19cefdffbfe0f7e280f21e80875937e8700e99e2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git lockdep: annotate reclaim context (__GFP_NOFS), fix SLOB 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 Cc: Peter Zijlstra LKML-Reference: <20090128135457.350751756@chello.nl> Signed-off-by: Ingo Molnar --- diff --git a/mm/slob.c b/mm/slob.c index 1264799df5d1..4b1c0c1d63cb 100644 --- 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)