mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
io_uring: update for mmap api change
A recent change to sys_util moved the definition of 'as_ptr' for an mmap to a new trait, include that trait here. Change-Id: Ib48113738fdace50e2dc7f72a5107dd95db867f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2241590 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org> Tested-by: Dylan Reid <dgreid@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dylan Reid <dgreid@chromium.org>
This commit is contained in:
parent
014b351f58
commit
d42d3fec7a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
|
|||
use std::ptr::null_mut;
|
||||
use std::sync::atomic::{AtomicU32, Ordering};
|
||||
|
||||
use sys_util::{MemoryMapping, WatchingEvents};
|
||||
use sys_util::{MappedRegion, MemoryMapping, WatchingEvents};
|
||||
|
||||
use crate::bindings::*;
|
||||
use crate::syscalls::*;
|
||||
|
|
Loading…
Reference in a new issue