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>
This commit is contained in:
parent
6700ec65c2
commit
19cefdffbf
@ -464,7 +464,7 @@ void *__kmalloc_node(size_t size, gfp_t gfp, int node)
|
|||||||
unsigned int *m;
|
unsigned int *m;
|
||||||
int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN);
|
int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN);
|
||||||
|
|
||||||
lockdep_trace_alloc(flags);
|
lockdep_trace_alloc(gfp);
|
||||||
|
|
||||||
if (size < PAGE_SIZE - align) {
|
if (size < PAGE_SIZE - align) {
|
||||||
if (!size)
|
if (!size)
|
||||||
|
Loading…
Reference in New Issue
Block a user