|
@@ -20,7 +20,6 @@
|
|
|
#include <linux/bitops.h>
|
|
|
#include <linux/ioport.h>
|
|
|
#include <linux/suspend.h>
|
|
|
-#include <linux/kmemleak.h>
|
|
|
#include <asm/e820.h>
|
|
|
#include <asm/io.h>
|
|
|
#include <asm/iommu.h>
|
|
@@ -95,11 +94,6 @@ static u32 __init allocate_aperture(void)
|
|
|
return 0;
|
|
|
}
|
|
|
memblock_reserve(addr, aper_size);
|
|
|
- /*
|
|
|
- * Kmemleak should not scan this block as it may not be mapped via the
|
|
|
- * kernel direct mapping.
|
|
|
- */
|
|
|
- kmemleak_ignore(phys_to_virt(addr));
|
|
|
printk(KERN_INFO "Mapping aperture over %d KB of RAM @ %lx\n",
|
|
|
aper_size >> 10, addr);
|
|
|
insert_aperture_resource((u32)addr, aper_size);
|