From 9bb3ce3918261c5392abbe4b65902e5d4b6dff07 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 29 Jun 2016 09:50:47 +0200 Subject: score: Fix SMP message handling According to the C11 standard only atomic read-modify-write operations guarantee that the last value written in modification order is read, see "7.17.3 Order and consistency". Thus we must use a read-modify-write in _SMP_Inter_processor_interrupt_handler() to make sure we read an up-to-date message. --- cpukit/score/include/rtems/score/percpu.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cpukit/score/include/rtems/score/percpu.h') diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h index 55f799ed1c..8d47aaca4f 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -619,11 +619,6 @@ static inline bool _Per_CPU_Is_boot_processor( #if defined( RTEMS_SMP ) -static inline void _Per_CPU_Send_interrupt( const Per_CPU_Control *cpu ) -{ - _CPU_SMP_Send_interrupt( _Per_CPU_Get_index( cpu ) ); -} - /** * @brief Allocate and Initialize Per CPU Structures * -- cgit v1.2.3