Fix build on aarch64
This commit is contained in:
@@ -4,9 +4,11 @@ use core::{
|
||||
};
|
||||
|
||||
mod mmio;
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
||||
mod pio;
|
||||
|
||||
pub use mmio::*;
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
||||
pub use pio::*;
|
||||
|
||||
/// IO abstraction
|
||||
|
||||
@@ -35,7 +35,7 @@ impl<T> Mmio<T> {
|
||||
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
|
||||
impl<T> Io for Mmio<T>
|
||||
where
|
||||
T: Copy + PartialEq + BitAnd<Output = T> + BitOr<Output = T> + Not<Output = T>,
|
||||
T: Copy + PartialEq + core::ops::BitAnd<Output = T> + core::ops::BitOr<Output = T> + core::ops::Not<Output = T>,
|
||||
{
|
||||
type Value = T;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user