Skip to content

Commit

Permalink
remove clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Jun 3, 2023
1 parent c29137f commit 9e79394
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/arch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub use crate::arch::x86_64::kernel::{
pub use crate::arch::x86_64::*;

/// Force strict CPU ordering, serializes load and store operations.
#[allow(dead_code)]
#[cfg(target_arch = "aarch64")]
#[inline(always)]
pub(crate) fn memory_barrier() {
Expand All @@ -73,6 +74,7 @@ pub(crate) fn memory_barrier() {
}

/// Force strict CPU ordering, serializes load and store operations.
#[allow(dead_code)]
#[cfg(target_arch = "x86_64")]
#[inline(always)]
pub(crate) fn memory_barrier() {
Expand Down

0 comments on commit 9e79394

Please sign in to comment.