ia64/xen-unstable

changeset 4060:f4ef980acf07

bitkeeper revision 1.1236.12.28 (422fae60QUL5If3Rfo9gd_stvUYcmw)

Doh! Remove call to a 2.6 only function. Silly me :-(

Signed-off-by: <mark.williamson@cl.cam.ac.uk>
author mwilli2@equilibrium.research
date Thu Mar 10 02:18:08 2005 +0000 (2005-03-10)
parents fc3672e12015
children a40eb0f50026
files linux-2.6.10-xen-sparse/drivers/xen/usbback/usbback.c
line diff
     1.1 --- a/linux-2.6.10-xen-sparse/drivers/xen/usbback/usbback.c	Wed Mar 09 20:12:22 2005 +0000
     1.2 +++ b/linux-2.6.10-xen-sparse/drivers/xen/usbback/usbback.c	Thu Mar 10 02:18:08 2005 +0000
     1.3 @@ -725,7 +725,7 @@ static void dispatch_usb_io(usbif_priv_t
     1.4      purb->dev = port->dev;
     1.5      purb->context = pending_req;
     1.6      purb->transfer_buffer =
     1.7 -        (void *)(MMAP_VADDR(pending_idx, 0) + offset_in_page(buffer_mach));
     1.8 +        (void *)(MMAP_VADDR(pending_idx, 0) + (buffer_mach & ~PAGE_MASK));
     1.9      if(buffer_mach == 0)
    1.10        purb->transfer_buffer = NULL;
    1.11      purb->complete = __end_usb_io_op;