/* Don't check the resource here because the aperture is usually in an e820 reserved area, and we allocated these earlier. */ 
static int __init aperture_valid(char *name, u64 aper_base, u32 aper_size) { 	if (!aper_base) 		return 0;	if (aper_size < 64*1024*1024) { 		printk("Aperture from %s too small (%d MB)\n", name, aper_size>>20); 		return 0;	}	if (aper_base + aper_size >= 0xffffffff) { 		printk("Aperture from %s beyond 4GB. Ignoring.\n",name);		return 0; 	}	if (e820_mapped(aper_base, aper_base + aper_size, E820_RAM)) {  		printk("Aperture from %s pointing to e820 RAM. Ignoring.\n",name);		return 0; 	} 	return 1;} 
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ece90303ec7e2e8d8610eb03ee7648755dd8efe7/aperture.c/buggy/arch/x86_64/kernel/aperture.c