Changeset a4c22f5f in rtems


Ignore:
Timestamp:
Nov 9, 2011, 6:44:34 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
c9ba56f
Parents:
83fec7c2
Message:

2011-11-09 Werner Almesberger <werner@…>

PR 1957/cpukit

  • score/include/rtems/score/coremutex.h, score/inline/rtems/score/threadmp.inl: Add parentheses to protect macro arguments.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r83fec7c2 ra4c22f5f  
     12011-11-09      Werner Almesberger <werner@almesberger.net>
     2
     3        PR 1957/cpukit
     4        * score/include/rtems/score/coremutex.h,
     5        score/inline/rtems/score/threadmp.inl: Add parentheses to protect
     6        macro arguments.
     7
    182011-11-07      Ralf Corsepius <ralf.corsepius@rtems.org>
    29
  • cpukit/score/include/rtems/score/coremutex.h

    r83fec7c2 ra4c22f5f  
    375375           ); \
    376376    } \
    377     if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &_level ) ) {  \
    378       if ( !_wait ) { \
     377    if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &(_level) ) ) {  \
     378      if ( !(_wait) ) { \
    379379        _ISR_Enable( _level ); \
    380380        _Thread_Executing->Wait.return_code = \
  • cpukit/score/inline/rtems/score/threadmp.inl

    r83fec7c2 ra4c22f5f  
    3939 */
    4040#define _Thread_MP_Is_receive(_the_thread) \
    41   (_the_thread == _MPCI_Receive_server_tcb)
     41  ((_the_thread) == _MPCI_Receive_server_tcb)
    4242
    4343/**
Note: See TracChangeset for help on using the changeset viewer.