summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-15 06:03:11 +0100
committerIngo Molnar <mingo@elte.hu>2009-03-30 22:59:44 +0200
commit19cefdffbfe0f7e280f21e80875937e8700e99e2 (patch)
tree7a82d84609af22469d3f96d371d14b7dcf65d1f2
parentlockdep: annotate reclaim context (__GFP_NOFS), fix (diff)
downloadlinux-19cefdffbfe0f7e280f21e80875937e8700e99e2.tar.xz
linux-19cefdffbfe0f7e280f21e80875937e8700e99e2.zip
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 <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>
-rw-r--r--mm/slob.c2
1 files changed, 1 insertions, 1 deletions
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)