xen-usb: do not reference PAGE_SIZE
commitc6d25aa6bab44e841ef6585cbbd9af05b7a90b65
authorStefano Stabellini <sstabellini@kernel.org>
Fri, 21 Oct 2016 19:08:27 +0000 (21 12:08 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 21 Oct 2016 19:08:27 +0000 (21 12:08 -0700)
tree2b7b971af1a0a501e1a67c2549635042af1f0753
parentb49e452fe994f8fbcd22bf5a87b79a2355481318
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