From 358bd740593132ddb00d6e33b4f512b5f9615597 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 3 Feb 2016 12:41:02 +0100 Subject: score: Avoid SCORE_EXTERN Delete SCORE_INIT. This finally removes the some.h: #ifndef SOME_XYZ_EXTERN #define SOME_XYZ_EXTERN extern #endif SOME_XYZ_EXTERN type xyz; some_xyz.c: #define SOME_XYZ_EXTERN #include pattern in favour of some.h: extern type xyz; some_xyz.c #include type xyz; Update #2559. --- cpukit/score/src/smp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score/src/smp.c') diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index a64287e51a..a5562eb7bf 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -29,6 +29,8 @@ #error "deferred FP switch not implemented for SMP" #endif +uint32_t _SMP_Processor_count; + static void _SMP_Start_processors( uint32_t cpu_count ) { uint32_t cpu_index_self = _SMP_Get_current_processor(); -- cgit v1.2.3