Move SoftIRQ implementations to softirq component

This commit is contained in:
Chen Chengjun
2024-10-17 17:41:24 +08:00
committed by Tate, Hongliang Tian
parent 54a807b5f7
commit 2f511069ee
17 changed files with 106 additions and 47 deletions

View File

@ -13,11 +13,11 @@ cfg_if::cfg_if! {
}
use bitvec::prelude::BitVec;
use local::cpu_local_cell;
use spin::Once;
use crate::{
arch::boot::smp::get_num_processors, task::DisabledPreemptGuard, trap::DisabledLocalIrqGuard,
arch::boot::smp::get_num_processors, cpu_local_cell, task::DisabledPreemptGuard,
trap::DisabledLocalIrqGuard,
};
/// The number of CPUs.