mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 13:23:36 +00:00
Fix 32bit gcc builds after r342625.
MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
7af4985245
commit
9362b6a394
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342631
|
@ -540,7 +540,7 @@ linux_cdev_pager_populate(vm_object_t vm_obj, vm_pindex_t pidx, int fault_type,
|
|||
struct vm_fault vmf;
|
||||
|
||||
/* fill out VM fault structure */
|
||||
vmf.virtual_address = (void *)IDX_TO_OFF(pidx);
|
||||
vmf.virtual_address = (void *)(uintptr_t)IDX_TO_OFF(pidx);
|
||||
vmf.flags = (fault_type & VM_PROT_WRITE) ? FAULT_FLAG_WRITE : 0;
|
||||
vmf.pgoff = 0;
|
||||
vmf.page = NULL;
|
||||
|
|
Loading…
Reference in a new issue