kmemleak: Ignore the aperture memory hole on x86_64
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:20 +0000 (14:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 1 Sep 2009 10:12:32 +0000 (11:12 +0100)
commitacde31dc467797ccae3a55b791a77af446cce018
treeef7a46bef9485830cc8f104889def098e1604eb7
parent0494e08281d08f0a3dc442eb5e5cecc125b53b27
kmemleak: Ignore the aperture memory hole on x86_64

This block is allocated with alloc_bootmem() and scanned by kmemleak but
the kernel direct mapping may no longer exist. This patch tells kmemleak
to ignore this memory hole. The dma32_bootmem_ptr in
dma32_reserve_bootmem() is also ignored.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/aperture_64.c
arch/x86/kernel/pci-dma.c