diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-27 11:08:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-28 19:07:37 +0200 |
commit | 4adaed7328e39eac4fe1879cba61919e74965cc8 (patch) | |
tree | 6289a5896a12a38381921063622daaa1196d40de /testsuites/smptests/smpfatal02 | |
parent | libcsupport: Consistent rtems_putc() output (diff) | |
download | rtems-4adaed7328e39eac4fe1879cba61919e74965cc8.tar.bz2 |
score: Remove processor event broadcast/receive
Remove _CPU_SMP_Processor_event_broadcast() and
_CPU_SMP_Processor_event_receive(). These functions are hard to use since they
are subject to the lost wake up problem.
Diffstat (limited to 'testsuites/smptests/smpfatal02')
-rw-r--r-- | testsuites/smptests/smpfatal02/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/smptests/smpfatal02/init.c b/testsuites/smptests/smpfatal02/init.c index 6aa48d6cc0..25321ca27b 100644 --- a/testsuites/smptests/smpfatal02/init.c +++ b/testsuites/smptests/smpfatal02/init.c @@ -60,7 +60,7 @@ static void fatal_extension( for (cpu = 0; cpu < MAX_CPUS; ++cpu) { const Per_CPU_Control *per_cpu = _Per_CPU_Get_by_index( cpu ); - Per_CPU_State state = per_cpu->state; + Per_CPU_State state = _Per_CPU_Get_state(per_cpu); assert(state == PER_CPU_STATE_SHUTDOWN); } @@ -96,7 +96,7 @@ static rtems_status_code test_driver_init( for (cpu = 0; cpu < MAX_CPUS; ++cpu) { const Per_CPU_Control *per_cpu = _Per_CPU_Get_by_index( cpu ); - Per_CPU_State state = per_cpu->state; + Per_CPU_State state = _Per_CPU_Get_state(per_cpu); if (cpu == self) { assert(state == PER_CPU_STATE_INITIAL); |