From 51dc9a6121f8d4716b8ee5849feb16f880ecb20c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 3 Feb 2016 11:57:29 +0100 Subject: sparc64: Avoid SCORE_EXTERN Update #2559. --- cpukit/score/cpu/sparc64/cpu.c | 6 ++++++ 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 #include +#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. -- cgit v1.2.3