patch-2.3.24 linux/drivers/usb/cpia.c
Next file: linux/drivers/usb/ezusb.c
Previous file: linux/drivers/usb/acm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 25 08:26:53 1999
- Orig file:
v2.3.23/linux/drivers/usb/cpia.c
- Orig date:
Fri Oct 22 13:21:51 1999
diff -u --recursive --new-file v2.3.23/linux/drivers/usb/cpia.c linux/drivers/usb/cpia.c
@@ -52,7 +52,7 @@
ptep = pte_offset(pmd, adr);
pte = *ptep;
if (pte_present(pte))
- ret = (pte_page(pte) | (adr & (PAGE_SIZE-1)));
+ ret = page_address(pte_page(pte)) | (adr & (PAGE_SIZE-1));
}
}
MDEBUG(printk("uv2kva(%lx-->%lx)", adr, ret));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)