mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 00:23:24 +00:00
Remove the additional IRQ disable during EOI
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
a43b0b6a52
commit
b8eff00fb7
@ -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();
|
||||
|
Reference in New Issue
Block a user