diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 11:52:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-17 09:15:01 +0100 |
commit | dab78624ebbdc97341497f9d0fe92ed7fe1c8167 (patch) | |
tree | 165441ac1373f9ba17dbbf7d9a77e5342ef0ed1e | |
parent | lm32: Avoid SCORE_EXTERN (diff) | |
download | rtems-dab78624ebbdc97341497f9d0fe92ed7fe1c8167.tar.bz2 |
sparc: Avoid SCORE_EXTERN
Update #2559.
-rw-r--r-- | cpukit/score/cpu/sparc/cpu.c | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index 5434355618..899ed4087b 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -116,6 +116,10 @@ RTEMS_STATIC_ASSERT( CPU_Interrupt_frame_alignment ); +#if (SPARC_HAS_FPU == 1) && !defined(SPARC_USE_SAFE_FP_SUPPORT) +Context_Control_fp _CPU_Null_fp_context; +#endif + /* * _CPU_Initialize * diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 4dd57bf4b5..c2b5f4c84f 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -785,7 +785,7 @@ typedef struct { * It is filled in by _CPU_Initialize and copied into the task's FP * context area during _CPU_Context_Initialize. */ -SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; +extern Context_Control_fp _CPU_Null_fp_context; /** * The following type defines an entry in the SPARC's trap table. |