patch-2.3.26 linux/drivers/sbus/char/vfc_dev.c

Next file: linux/drivers/scsi/ide-scsi.c
Previous file: linux/drivers/sbus/char/flash.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/drivers/sbus/char/vfc_dev.c linux/drivers/sbus/char/vfc_dev.c
@@ -572,8 +572,6 @@
 	if(map_size > sizeof(struct vfc_regs)) 
 		map_size=sizeof(struct vfc_regs);
 
-
-	if(vma->vm_offset & ~PAGE_MASK) return -ENXIO;
 	vma->vm_flags |= VM_SHM | VM_LOCKED | VM_IO | VM_MAYREAD | VM_MAYWRITE | VM_MAYSHARE;
 	map_offset=(unsigned int)dev->phys_regs;
 	ret = io_remap_page_range(vma->vm_start,map_offset,map_size, 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)