From 0f7afe507a6b78db176c9fa090b90d45ea9a168d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 Nov 2011 18:42:17 +0000 Subject: 2011-11-09 Werner Almesberger PR 1957/cpukit * score/include/rtems/score/coremutex.h, score/inline/rtems/score/threadmp.inl: Add parentheses to protect macro arguments. --- cpukit/score/inline/rtems/score/threadmp.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/inline/rtems/score/threadmp.inl') diff --git a/cpukit/score/inline/rtems/score/threadmp.inl b/cpukit/score/inline/rtems/score/threadmp.inl index 648ed0e1d2..7599f37503 100644 --- a/cpukit/score/inline/rtems/score/threadmp.inl +++ b/cpukit/score/inline/rtems/score/threadmp.inl @@ -38,7 +38,7 @@ * _MPCI_Receive_server_tcb until it is used. */ #define _Thread_MP_Is_receive(_the_thread) \ - (_the_thread == _MPCI_Receive_server_tcb) + ((_the_thread) == _MPCI_Receive_server_tcb) /** * This routine frees a proxy control block to the -- cgit v1.2.3