unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;  vma->vm_page_prot = phys_mem_access_prot(file, offset, 
vma->vm_page_prot = phys_mem_access_prot(file, vma->vm_pgoff, 
static int mmap_mem(struct file * file, struct vm_area_struct * vma){#if defined(__HAVE_PHYS_MEM_ACCESS_PROT)	unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;	vma->vm_page_prot = phys_mem_access_prot(file, offset,						 vma->vm_end - vma->vm_start,						 vma->vm_page_prot);#elif defined(pgprot_noncached)	unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;	int uncached;	uncached = uncached_access(file, offset);	if (uncached)		vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);#endif	/* Remap-pfn-range will mark the range VM_IO and VM_RESERVED */	if (remap_pfn_range(vma,			    vma->vm_start,			    vma->vm_pgoff,			    vma->vm_end-vma->vm_start,			    vma->vm_page_prot))		return -EAGAIN;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8b150478aeb1a8edb9015c2f7ac4da637ff65c45/mem.c/buggy/drivers/char/mem.c