diff options
author | Catalin Marinas <[email protected]> | 2014-06-06 14:38:20 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-06-06 16:08:17 -0700 |
commit | aedf95ea0583676cd7bfa395681ad744791a433e (patch) | |
tree | ec6157cd2cd37203373c4e1c8ccf93906ceed7f0 /include/linux/fpga/fpga-mgr.h | |
parent | 174119628188b085c66fe7d86fbfb4cccb1bd864 (diff) |
mm/memblock.c: call kmemleak directly from memblock_(alloc|free)
Kmemleak could ignore memory blocks allocated via memblock_alloc()
leading to false positives during scanning. This patch adds the
corresponding callbacks and removes kmemleak_free_* calls in
mm/nobootmem.c to avoid duplication.
The kmemleak_alloc() in mm/nobootmem.c is kept since
__alloc_memory_core_early() does not use memblock_alloc() directly.
Signed-off-by: Catalin Marinas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions