From 4d906bdac2bc1ce2420ff58958884a40f3657d0f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 2 May 2014 15:47:57 +0200 Subject: score: Use atomic operations for SMP messages --- cpukit/score/include/rtems/score/percpu.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 12c5b1d3d1..7f063eafb8 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -302,11 +302,12 @@ typedef struct Per_CPU_Control { SMP_lock_Context Giant_lock_context; /** - * This is the request for the interrupt. + * @brief Bit field for SMP messages. * - * @note This may become a chain protected by atomic instructions. + * This bit field is not protected locks. Atomic operations are used to + * set and get the message bits. */ - uint32_t message; + Atomic_Ulong message; /** * @brief Indicates the current state of the CPU. -- cgit v1.2.3