Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cortex-m/src/peripheral/scb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl SCB {
/// Enables I-cache if currently disabled.
///
/// This operation first invalidates the entire I-cache.
#[inline]
#[inline(never)]
#[asm_cfg(cortex_m)]
pub fn enable_icache(&mut self) {
// Don't do anything if I-cache is already enabled
Expand Down Expand Up @@ -437,7 +437,7 @@ impl SCB {
///
/// This operation first invalidates the entire D-cache, ensuring it does
/// not contain stale values before being enabled.
#[inline]
#[inline(never)]
#[asm_cfg(cortex_m)]
pub fn enable_dcache(&mut self, cpuid: &mut CPUID) {
// Don't do anything if D-cache is already enabled
Expand Down
Loading