[PATCH] x86_64: free_bootmem_node needs __pa in allocate_aperture
authorJon Mason <jdmason@us.ibm.com>
Sat, 25 Mar 2006 15:31:19 +0000 (16:31 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:10:57 +0000 (09:10 -0800)
commitc912c2db2f5c2467ba34e4e655008a14532a3900
treeb8fb312672424a20b3f2b6574a864f88a99d0605
parentda7ed9f98f6f3f18664f8ab24303f9428b9d78f8
[PATCH] x86_64: free_bootmem_node needs __pa in allocate_aperture

free_bootmem_node expects a physical address to be passed in, but
__alloc_bootmem_node returns a virtual one.  That address needs to be
translated to physical.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/aperture.c