mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
score/cpu/lm32/rtems/score/cpu.h: Fix set but not used warning
This commit is contained in:
1 parent
6c8e0dc81c
commit
a9c45a048a
1 file changed
+3
@@ -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; \
|
||||
|
||||
Reference in new issue
Block a user