X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=mm%2Fnobootmem.c;h=b001384dfbdd952c522ae6da1619af28697c0a88;hb=3d70ad5bdfd5e520816b92a48282dacdb394dd41;hp=490d46abddad2732346465befa7a3349bccc9e75;hpb=90189ed3f0dd5afd701708c789c7048a656fc45c;p=deliverable%2Flinux.git diff --git a/mm/nobootmem.c b/mm/nobootmem.c index 490d46abddad..b001384dfbdd 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);