summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-03 11:41:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-17 09:15:01 +0100
commitd638aca61b6d87a7912f634b3820b0e64efb0767 (patch)
tree95a5bf36aadb352a55bc8a72d6c2e3bd3f04c5e6 /cpukit/score/cpu/mips
parentepiphany: Delete superfluous _CPU_Null_fp_context (diff)
downloadrtems-d638aca61b6d87a7912f634b3820b0e64efb0767.tar.bz2
mips: Avoid SCORE_EXTERN
Update #2559.
Diffstat (limited to 'cpukit/score/cpu/mips')
-rw-r--r--cpukit/score/cpu/mips/cpu.c4
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c
index cb6c664f7a..fe89a10ec7 100644
--- a/cpukit/score/cpu/mips/cpu.c
+++ b/cpukit/score/cpu/mips/cpu.c
@@ -54,6 +54,10 @@
#include <rtems/score/isr.h>
#include <rtems/score/wkspace.h>
+#if CPU_HARDWARE_FP
+Context_Control_fp _CPU_Null_fp_context;
+#endif
+
/*
** Exception stack frame pointer used in cpu_asm to pass the exception stack frame
** address to the context switch code.
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index 01bd29ad21..cb66b89018 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -590,7 +590,7 @@ typedef CPU_Interrupt_frame CPU_Exception_frame;
* _CPU_Context_Initialize.
*/
-SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
+extern Context_Control_fp _CPU_Null_fp_context;
/*
* Nothing prevents the porter from declaring more CPU specific variables.