Skip to content

Commit

Permalink
lockdep: annotate reclaim context (__GFP_NOFS), fix SLOB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Mar 30, 2009
1 parent 6700ec6 commit 19cefdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slob.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19cefdf

Please sign in to comment.