X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;ds=sidebyside;f=mm%2Fnobootmem.c;h=487dad610731b7746d1fd3668e98c6ede3828be7;hb=1e90a13d0c3dc94512af1ccb2b6563e8297838fa;hp=ba609b684d7a889ee00c7edd281e8458e926e5ad;hpb=f29135b54bcbfe1fea97d94e2ae860bade1d5a31;p=cascardo%2Flinux.git diff --git a/mm/nobootmem.c b/mm/nobootmem.c index ba609b684d7a..487dad610731 100644 --- a/mm/nobootmem.c +++ b/mm/nobootmem.c @@ -84,7 +84,7 @@ void __init free_bootmem_late(unsigned long addr, unsigned long size) { unsigned long cursor, end; - kmemleak_free_part(__va(addr), size); + kmemleak_free_part_phys(addr, size); cursor = PFN_UP(addr); end = PFN_DOWN(addr + size);