diff options
Diffstat (limited to 'mm/slob.c')
-rw-r--r-- | mm/slob.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -475,6 +475,8 @@ void *__kmalloc_node(size_t size, gfp_t gfp, int node) | |||
475 | unsigned int *m; | 475 | unsigned int *m; |
476 | int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); | 476 | int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); |
477 | 477 | ||
478 | lockdep_trace_alloc(gfp); | ||
479 | |||
478 | if (size < PAGE_SIZE - align) { | 480 | if (size < PAGE_SIZE - align) { |
479 | if (!size) | 481 | if (!size) |
480 | return ZERO_SIZE_PTR; | 482 | return ZERO_SIZE_PTR; |