summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmulticast01/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-27 11:08:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-28 19:07:37 +0200
commit4adaed7328e39eac4fe1879cba61919e74965cc8 (patch)
tree6289a5896a12a38381921063622daaa1196d40de /testsuites/smptests/smpmulticast01/init.c
parent6e82e9e89ec2f0863013512b50f6a1cf8a0f58d3 (diff)
downloadrtems-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 '')
-rw-r--r--testsuites/smptests/smpmulticast01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpmulticast01/init.c b/testsuites/smptests/smpmulticast01/init.c
index 96462e32e3..fbe6fb6abf 100644
--- a/testsuites/smptests/smpmulticast01/init.c
+++ b/testsuites/smptests/smpmulticast01/init.c
@@ -390,7 +390,7 @@ static void set_wrong_cpu_state(void *arg)
cpu_self = arg;
T_step_eq_ptr(0, cpu_self, _Per_CPU_Get());
- cpu_self->state = 123;
+ _Per_CPU_Set_state(cpu_self, 123);
while (true) {
/* Do nothing */