@@ -91,7 +91,7 @@ struct hyper_dmabuf_bknd_ops {
/* map remotely shared pages on importer's side via
* hypervisor-specific method
*/
- struct page ** (*map_shared_pages)(int, int, int, void **);
+ struct page ** (*map_shared_pages)(unsigned long, int, int, void **);
/* unmap and free shared pages on importer's side via
* hypervisor-specific method
@@ -252,8 +252,8 @@ int xen_be_unshare_pages(void **refs_info, int nents)
/* Maps provided top level ref id and then return array of pages
* containing data refs.
*/
-struct page **xen_be_map_shared_pages(int lvl3_gref, int domid,
- int nents, void **refs_info)
+struct page **xen_be_map_shared_pages(unsigned long lvl3_gref, int domid,
+ int nents, void **refs_info)
{
struct page *lvl3_table_page;
struct page **lvl2_table_pages;
@@ -37,7 +37,7 @@ int xen_be_unshare_pages(void **refs_info, int nents);
/* Maps provided top level ref id and then return array of pages containing
* data refs.
*/
-struct page **xen_be_map_shared_pages(int lvl3_gref, int domid,
+struct page **xen_be_map_shared_pages(unsigned long lvl3_gref, int domid,
int nents,
void **refs_info);