summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/startup/bspclean.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/startup/bspclean.c')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/startup/bspclean.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspclean.c b/c/src/lib/libbsp/sparc/leon3/startup/bspclean.c
index 0d7d85552e..cfe049bf31 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/bspclean.c
+++ b/c/src/lib/libbsp/sparc/leon3/startup/bspclean.c
@@ -23,7 +23,6 @@
#include <bsp/bootcard.h>
#include <rtems/bspIo.h>
#include <rtems/score/smpimpl.h>
-#include <rtems/score/schedulerimpl.h>
void bsp_fatal_extension(
rtems_fatal_source source,
@@ -55,10 +54,7 @@ void bsp_fatal_extension(
uint32_t i;
for (i = 0; i < cpu_count; ++i) {
- const Scheduler_Assignment *assignment = _Scheduler_Get_assignment( i );
-
- if ( (i != self_cpu) &&
- _Scheduler_Should_start_processor( assignment ) ) {
+ if ( (i != self_cpu) && _SMP_Should_start_processor( i ) ) {
halt_mask |= UINT32_C(1) << i;
}
}