Remove the additional IRQ disable during EOI

This commit is contained in:
Zhang Junyang
2024-10-18 23:10:10 +08:00
committed by Tate, Hongliang Tian
parent a43b0b6a52
commit b8eff00fb7
4 changed files with 68 additions and 43 deletions

View File

@ -108,7 +108,7 @@ impl<T: 'static> CpuLocal<T> {
/// # Safety
///
/// The caller must ensure that the reference to `self` is static.
unsafe fn as_ptr(&'static self) -> *const T {
pub(crate) unsafe fn as_ptr(&'static self) -> *const T {
super::has_init::assert_true();
let offset = self.get_offset();