diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-19 21:45:51 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-20 10:02:04 -0500 |
commit | a9c45a048a3101984445f641ccebb6896fcc87bd (patch) | |
tree | 40361bafed4a11ad1f9272a7c3fe5b9d7eabe7d1 /cpukit/score/cpu/lm32/rtems/score | |
parent | score/cpu/i386/rtems/score/cpu.h: Fix set but not used warning (diff) | |
download | rtems-a9c45a048a3101984445f641ccebb6896fcc87bd.tar.bz2 |
score/cpu/lm32/rtems/score/cpu.h: Fix set but not used warning
Diffstat (limited to 'cpukit/score/cpu/lm32/rtems/score')
-rw-r--r-- | cpukit/score/cpu/lm32/rtems/score/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h index 17fa33c95f..67d7ebebac 100644 --- a/cpukit/score/cpu/lm32/rtems/score/cpu.h +++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h @@ -826,6 +826,9 @@ extern char _gp[]; _isr, _entry_point, _is_fp, _tls_area ) \ do { \ uint32_t _stack = (uint32_t)(_stack_base) + (_size) - 4; \ + \ + (void) _is_fp; /* avoid warning for being unused */ \ + (void) _isr; /* avoid warning for being unused */ \ (_the_context)->gp = (uint32_t)_gp; \ (_the_context)->fp = (uint32_t)_stack; \ (_the_context)->sp = (uint32_t)_stack; \ |