pte_t * pte = pte_alloc_kernel(&init_mm, pmd, address); 
pte_t * pte = pte_alloc_kernel(pmd, address); 
static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size,	unsigned long phys_addr, pgprot_t prot){	unsigned long end;	address &= ~PGDIR_MASK;	end = address + size;	if (end > PGDIR_SIZE)		end = PGDIR_SIZE;	phys_addr -= address;	if (address >= end)		BUG();	do {		pte_t * pte = pte_alloc_kernel(&init_mm, pmd, address);		if (!pte)			return -ENOMEM;		remap_area_pte(pte, address, end - address, address + phys_addr, prot);		address = (address + PMD_SIZE) & PMD_MASK;		pmd++;	} while (address && (address < end));	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/872fec16d9a0ed3b75b8893aa217e49cca575ee5/ioremap.c/clean/arch/cris/mm/ioremap.c