summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/isrlock.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/isrlock.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/isrlock.h b/cpukit/score/include/rtems/score/isrlock.h
index 994eb48ed0..12afd081f1 100644
--- a/cpukit/score/include/rtems/score/isrlock.h
+++ b/cpukit/score/include/rtems/score/isrlock.h
@@ -254,7 +254,8 @@ typedef struct {
&( _context )->Lock_context \
)
#else
- #define _ISR_lock_Acquire( _lock, _context )
+ #define _ISR_lock_Acquire( _lock, _context ) \
+ (void) _context;
#endif
/**
@@ -276,7 +277,8 @@ typedef struct {
&( _context )->Lock_context \
)
#else
- #define _ISR_lock_Release( _lock, _context )
+ #define _ISR_lock_Release( _lock, _context ) \
+ (void) _context;
#endif
/**