diff options
author | Alastair Tse <liquidx@gentoo.org> | 2005-03-09 15:10:55 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2005-03-09 15:10:55 +0000 |
commit | da34f74152c47847aea3c8daa37d2de03c245f53 (patch) | |
tree | 3accf365b148da7facb61c942417f8f1f664a0c9 /media-video/qc-usb/files | |
parent | Marked ~amd64, keywording KDE split ebuilds, bug 80944. (diff) | |
download | gentoo-2-da34f74152c47847aea3c8daa37d2de03c245f53.tar.gz gentoo-2-da34f74152c47847aea3c8daa37d2de03c245f53.tar.bz2 gentoo-2-da34f74152c47847aea3c8daa37d2de03c245f53.zip |
patch for 2.6.11+ compatibility (#83299) migrated to use linux-mod.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video/qc-usb/files')
-rw-r--r-- | media-video/qc-usb/files/0.6.2-linux-2.6.11.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-video/qc-usb/files/0.6.2-linux-2.6.11.patch b/media-video/qc-usb/files/0.6.2-linux-2.6.11.patch new file mode 100644 index 000000000000..dd8b239f5ed3 --- /dev/null +++ b/media-video/qc-usb/files/0.6.2-linux-2.6.11.patch @@ -0,0 +1,15 @@ +--- qc-usb-0.6.2/qc-memory.c-old 2005-02-24 19:40:37.000000000 -0500 ++++ qc-usb-0.6.2/qc-memory.c 2005-02-24 19:41:12.000000000 -0500 +@@ -230,7 +230,11 @@ + pos = (unsigned long)src; + while ((long)size > 0) { + physaddr = kvirt_to_pa(pos); +- if (remap_page_range(vma, start, physaddr, PAGE_SIZE, PAGE_SHARED)) ++ if (remap_pfn_range(vma, ++ start, ++ physaddr >> PAGE_SHIFT, ++ PAGE_SIZE, ++ PAGE_SHARED)) + return -EAGAIN; + start += PAGE_SIZE; + pos += PAGE_SIZE; |