From d638aca61b6d87a7912f634b3820b0e64efb0767 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 3 Feb 2016 11:41:29 +0100 Subject: mips: Avoid SCORE_EXTERN Update #2559. --- cpukit/score/cpu/mips/cpu.c | 4 ++++ cpukit/score/cpu/mips/rtems/score/cpu.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 #include +#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. -- cgit v1.2.3