]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bootmem: fix wrong call parameter for free_bootmem()
authorJoonsoo Kim <js1304@gmail.com>
Thu, 29 Nov 2012 03:17:31 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:13 +0000 (16:23 +1100)
commit83d43e1a5103ff222c5ad5fdaf0a6bab7c4cb37e
treeac76943736ca602173e546f162ecff9a50611e7f
parent7aea713a7c6a442ed1664cd4e097be732e3cf605
bootmem: fix wrong call parameter for free_bootmem()

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.

Signed-off-by: Joonsoo 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: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/platforms/cell/celleb_pci.c
drivers/macintosh/smu.c
lib/cpumask.c