• Joonsoo Kim's avatar
    bootmem: fix wrong call parameter for free_bootmem() · 81df9bff
    Joonsoo Kim authored
    It is strange that alloc_bootmem() returns a virtual address and
    free_bootmem() requires a physical address.  Anyway, free_bootmem()'s
    first parameter should be physical address.
    
    There are some call sites for free_bootmem() with virtual address.  So fix
    them.
    
    [akpm@linux-foundation.org: improve free_bootmem() and free_bootmem_pate() documentation]
    Signed-off-by: default avatarJoonsoo Kim <js1304@gmail.com>
    Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
    Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    81df9bff
cpumask.c 4.38 KB