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:
Dylan Reid 2020-06-11 14:40:57 -07:00 committed by Commit Bot
parent 014b351f58
commit d42d3fec7a

View file

@ -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::*;