@@ -4,7 +4,7 @@ use core::ptr;
44use core:: sync:: atomic:: Ordering ;
55
66use aarch64_cpu:: registers:: { Readable , TPIDR_EL1 , Writeable } ;
7- use async_executor:: StaticExecutor ;
7+ use async_executor:: StaticLocalExecutor ;
88#[ cfg( feature = "smp" ) ]
99use hermit_sync:: InterruptTicketMutex ;
1010use hermit_sync:: { RawRwSpinLock , RawSpinMutex } ;
@@ -24,7 +24,7 @@ pub(crate) struct CoreLocal {
2424 /// Interface to the interrupt counters
2525 irq_statistics : & ' static IrqStatistics ,
2626 /// The core-local async executor.
27- ex : StaticExecutor < RawSpinMutex , RawRwSpinLock > ,
27+ ex : StaticLocalExecutor < RawSpinMutex , RawRwSpinLock > ,
2828 /// Queues to handle incoming requests from the other cores
2929 #[ cfg( feature = "smp" ) ]
3030 pub scheduler_input : InterruptTicketMutex < SchedulerInput > ,
@@ -46,7 +46,7 @@ impl CoreLocal {
4646 core_id,
4747 scheduler : Cell :: new ( ptr:: null_mut ( ) ) ,
4848 irq_statistics,
49- ex : StaticExecutor :: new ( ) ,
49+ ex : StaticLocalExecutor :: new ( ) ,
5050 #[ cfg( feature = "smp" ) ]
5151 scheduler_input : InterruptTicketMutex :: new ( SchedulerInput :: new ( ) ) ,
5252 } ;
@@ -93,7 +93,7 @@ pub(crate) fn core_scheduler() -> &'static mut PerCoreScheduler {
9393 unsafe { CoreLocal :: get ( ) . scheduler . get ( ) . as_mut ( ) . unwrap ( ) }
9494}
9595
96- pub ( crate ) fn ex ( ) -> & ' static StaticExecutor < RawSpinMutex , RawRwSpinLock > {
96+ pub ( crate ) fn ex ( ) -> & ' static StaticLocalExecutor < RawSpinMutex , RawRwSpinLock > {
9797 & CoreLocal :: get ( ) . ex
9898}
9999
0 commit comments