diff options
author | Holger Waechtler <devnull@localhost> | 2004-10-28 19:12:16 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2004-10-28 19:12:16 +0000 |
commit | 0264fcf0cb455a994647c934db1576ec3def5629 (patch) | |
tree | ab2ac915c358b83dadd52c4ed16751a4819db41f | |
parent | 2d1bd0b2d37f0e301b1031037ff2c7134a80bca4 (diff) | |
download | mediapointer-dvb-s2-0264fcf0cb455a994647c934db1576ec3def5629.tar.gz mediapointer-dvb-s2-0264fcf0cb455a994647c934db1576ec3def5629.tar.bz2 |
random API changes cause random bugs
-rw-r--r-- | linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 4 |
1 files 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: |