]> xenbits.xensource.com Git - qemu-xen.git/commit
xen-usb: do not reference PAGE_SIZE qemu-xen-4.8.0-rc4
authorStefano Stabellini <sstabellini@kernel.org>
Fri, 21 Oct 2016 19:08:27 +0000 (12:08 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 21 Oct 2016 20:10:30 +0000 (13:10 -0700)
commit6cfcdf037edadba984ccf8476b5d1e2a0940b789
tree5c1b932f4aa8bfcb1eef8ea17af0c20a62838a04
parent570117996772b762e9654e58e708943a4db68b4f
xen-usb: do not reference PAGE_SIZE

PAGE_SIZE is undefined on ARM64. Use XC_PAGE_SIZE instead, which is
always 4096 even when page granularity is 64K.

For this to actually work with 64K pages, more changes are required.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
hw/usb/xen-usb.c