[PATCH 02/13] i386: Avoid SCORE_EXTERN
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Feb 4 06:37:32 UTC 2016
Update #2559.
---
cpukit/score/cpu/i386/cpu.c | 4 ++++
cpukit/score/cpu/i386/rtems/score/cpu.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
index 436c822..f22c4d3 100644
--- a/cpukit/score/cpu/i386/cpu.c
+++ b/cpukit/score/cpu/i386/cpu.c
@@ -45,6 +45,10 @@ I386_ASSERT_OFFSET(edi, EDI);
I386_ASSERT_OFFSET(is_executing, IS_EXECUTING);
#endif
+#if CPU_HARDWARE_FP
+Context_Control_fp _CPU_Null_fp_context;
+#endif
+
void _CPU_Initialize(void)
{
#if CPU_HARDWARE_FP
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 5a8e5d6..d6828dc 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -327,7 +327,7 @@ typedef enum {
/* variables */
-SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
+extern Context_Control_fp _CPU_Null_fp_context;
#endif /* ASM */
--
1.8.4.5
More information about the devel
mailing list