From 0264fcf0cb455a994647c934db1576ec3def5629 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Thu, 28 Oct 2004 19:12:16 +0000 Subject: random API changes cause random bugs --- linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index 6f74af062..32f7800fa 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -645,8 +645,8 @@ int cinergyt2_mmap(struct file *file, struct vm_area_struct *vma) vma->vm_flags |= (VM_IO | VM_DONTCOPY); vma->vm_file = file; - ret = remap_pfn_range(vma, vma->vm_start >> PAGE_SHIFT, - virt_to_phys(cinergyt2->streambuf), + ret = remap_pfn_range(vma, vma->vm_start, + virt_to_phys(cinergyt2->streambuf) >> PAGE_SHIFT, vma->vm_end - vma->vm_start, vma->vm_page_prot) ? -EAGAIN : 0; bailout: -- cgit v1.2.3