mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
score/cpu/mips/include/rtems/score/cpu.h: Add single field to structure
GCC warned that the Context_Control_fp structure had no fields. Added an unused field when there is no FP support.
This commit is contained in:
committed by
Kinsey Moore
parent
95a90047df
commit
b8408fe39b
@@ -332,6 +332,8 @@ typedef struct {
|
|||||||
__MIPS_FPU_REGISTER_TYPE fp30;
|
__MIPS_FPU_REGISTER_TYPE fp30;
|
||||||
__MIPS_FPU_REGISTER_TYPE fp31;
|
__MIPS_FPU_REGISTER_TYPE fp31;
|
||||||
uint32_t fpcs;
|
uint32_t fpcs;
|
||||||
|
#else
|
||||||
|
uint32_t unused; /* avoid empty structure warning */
|
||||||
#endif
|
#endif
|
||||||
} Context_Control_fp;
|
} Context_Control_fp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user