[rtems commit] i386: Define _CPU_SMP_Prepare_start_multitasking()
Sebastian Huber
sebh at rtems.org
Fri Mar 4 13:52:25 UTC 2016
Module: rtems
Branch: master
Commit: 0a5aa2da60f67d75215aec6ca4d66484a045bac1
Changeset: http://git.rtems.org/rtems/commit/?id=0a5aa2da60f67d75215aec6ca4d66484a045bac1
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Mar 4 14:48:51 2016 +0100
i386: Define _CPU_SMP_Prepare_start_multitasking()
Define _CPU_SMP_Prepare_start_multitasking() as empty macro to prevent a
link-time error on SMP configurations.
---
cpukit/score/cpu/i386/rtems/score/cpu.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index a0b44cb..8f92b2e 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -499,7 +499,8 @@ uint32_t _CPU_ISR_Get_level( void );
void _CPU_SMP_Finalize_initialization( uint32_t cpu_count );
- void _CPU_SMP_Prepare_start_multitasking( void );
+ /* Nothing to do */
+ #define _CPU_SMP_Prepare_start_multitasking() do { } while ( 0 )
uint32_t _CPU_SMP_Get_current_processor( void );
More information about the vc
mailing list