pmd = pmd_alloc(&init_mm, dir, address); 
static int remap_area_pages(unsigned long address, unsigned long phys_addr,				 unsigned long size, unsigned long flags){	int error;	pgd_t * dir;	unsigned long end = address + size;	phys_addr -= address;	dir = pgd_offset(&init_mm, address);	flush_cache_all();	if (address >= end)		BUG();	spin_lock(&init_mm.page_table_lock);	do {		pmd_t *pmd;		pmd = pmd_alloc(&init_mm, dir, address);		error = -ENOMEM;		if (!pmd)			break;		if (remap_area_pmd(pmd, address, end - address,				   phys_addr + address, flags))			break;		error = 0;		address = (address + PGDIR_SIZE) & PGDIR_MASK;		dir++;	} while (address && (address < end));	spin_unlock(&init_mm.page_table_lock);	flush_tlb_all();	return error;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4f18cfbf0990bfc2e8e7706eeb9e5bef898ae923/ioremap.c/buggy/arch/cris/mm/ioremap.c