X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=mm%2Fcma.c;h=384c2cb51b56bf75ab2c132d0087e3757a71c276;hb=5cbee5573604e6c6170911bdfb78e2a0e6aa142e;hp=bd0e1412475eb872dd354999d3120a55cce925be;hpb=3f35e210ed4617a68b6baa9b7ac6c72bf7e313d9;p=cascardo%2Flinux.git diff --git a/mm/cma.c b/mm/cma.c index bd0e1412475e..384c2cb51b56 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -336,7 +336,7 @@ int __init cma_declare_contiguous(phys_addr_t base, * kmemleak scans/reads tracked objects for pointers to other * objects but this address isn't mapped and accessible */ - kmemleak_ignore(phys_to_virt(addr)); + kmemleak_ignore_phys(addr); base = addr; }