set_pte(pte, mk_pte_phys(phys_addr, __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL | _PAGE_KERNEL | flags))); 
set_pte(pte, mk_pte_phys(phys_addr, prot)); 
extern inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,	unsigned long phys_addr, unsigned long flags){	unsigned long end;	address &= ~PMD_MASK;	end = address + size;	if (end > PMD_SIZE)		end = PMD_SIZE;	if (address >= end)		BUG();	do {		if (!pte_none(*pte)) {			printk("remap_area_pte: page already exists\n");			BUG();		}		set_pte(pte, mk_pte_phys(phys_addr, __pgprot(_PAGE_PRESENT | __READABLE | 							     __WRITEABLE | _PAGE_GLOBAL |							     _PAGE_KERNEL | flags)));		address += PAGE_SIZE;		phys_addr += PAGE_SIZE;		pte++;	} while (address && (address < end));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4f18cfbf0990bfc2e8e7706eeb9e5bef898ae923/ioremap.c/buggy/arch/cris/mm/ioremap.c