Clarify the usage of ostd::arch

This commit is contained in:
Zejun Zhao
2025-04-06 20:29:34 +08:00
committed by Tate, Hongliang Tian
parent 4baff8e17b
commit 3aa1079ca6
18 changed files with 24 additions and 37 deletions

View File

@ -7,10 +7,7 @@ pub mod set;
pub use set::{AtomicCpuSet, CpuSet};
#[cfg(target_arch = "riscv64")]
pub use crate::arch::riscv::cpu::*;
#[cfg(target_arch = "x86_64")]
pub use crate::arch::x86::cpu::*;
pub use crate::arch::cpu::*;
use crate::{cpu_local_cell, task::atomic_mode::InAtomicMode};
/// The ID of a CPU in the system.