diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 11:57:29 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-17 09:15:01 +0100 |
commit | 51dc9a6121f8d4716b8ee5849feb16f880ecb20c (patch) | |
tree | f78560ee425fda2439b8da465d958bb00be2275b | |
parent | moxie: Delete superfluous _CPU_Null_fp_context (diff) | |
download | rtems-51dc9a6121f8d4716b8ee5849feb16f880ecb20c.tar.bz2 |
sparc64: Avoid SCORE_EXTERN
Update #2559.
-rw-r--r-- | cpukit/score/cpu/sparc64/cpu.c | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc64/rtems/score/cpu.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sparc64/cpu.c b/cpukit/score/cpu/sparc64/cpu.c index 1834b349bf..512ab90425 100644 --- a/cpukit/score/cpu/sparc64/cpu.c +++ b/cpukit/score/cpu/sparc64/cpu.c @@ -22,6 +22,12 @@ #include <rtems/score/tls.h> #include <rtems/rtems/cache.h> +#if (SPARC_HAS_FPU == 1) +Context_Control_fp _CPU_Null_fp_context; +#endif + +volatile uint32_t _CPU_ISR_Dispatch_disable; + /* * _CPU_Initialize * diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h index 80c3466f07..aa756f9f4a 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h @@ -547,7 +547,7 @@ typedef struct { * context area during _CPU_Context_Initialize. */ -SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; +extern Context_Control_fp _CPU_Null_fp_context; /* * This flag is context switched with each thread. It indicates @@ -556,7 +556,7 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; * attempts on a previously interrupted thread's stack. */ -SCORE_EXTERN volatile uint32_t _CPU_ISR_Dispatch_disable; +extern volatile uint32_t _CPU_ISR_Dispatch_disable; /* * The following type defines an entry in the SPARC's trap table. |