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:
Joel Sherrill
2025-07-11 12:51:56 -05:00
committed by Kinsey Moore
parent 95a90047df
commit b8408fe39b

View File

@@ -332,6 +332,8 @@ typedef struct {
__MIPS_FPU_REGISTER_TYPE fp30;
__MIPS_FPU_REGISTER_TYPE fp31;
uint32_t fpcs;
#else
uint32_t unused; /* avoid empty structure warning */
#endif
} Context_Control_fp;