diff options
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r-- | cpukit/score/include/rtems/score/object.h | 2 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index 0198731b96..a0bf3707b6 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -387,7 +387,9 @@ Objects_Information *_Objects_Get_information( */ #include <rtems/score/object.inl> +#if defined(RTEMS_MULTIPROCESSING) #include <rtems/score/objectmp.h> +#endif #ifdef __cplusplus } diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 7fc3361c39..574d0493d2 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -23,7 +23,9 @@ extern "C" { #include <rtems/score/context.h> #include <rtems/score/cpu.h> +#if defined(RTEMS_MULTIPROCESSING) #include <rtems/score/mppkt.h> +#endif #include <rtems/score/object.h> #include <rtems/score/priority.h> #include <rtems/score/stack.h> @@ -141,7 +143,9 @@ typedef struct { unsigned32 resource_count; Thread_Wait_information Wait; Watchdog_Control Timer; +#if defined(RTEMS_MULTIPROCESSING) MP_packet_Prefix *receive_packet; +#endif /****************** end of common block ********************/ Chain_Node Active; } Thread_Proxy_control; @@ -171,7 +175,9 @@ struct Thread_Control_struct { unsigned32 resource_count; Thread_Wait_information Wait; Watchdog_Control Timer; +#if defined(RTEMS_MULTIPROCESSING) MP_packet_Prefix *receive_packet; +#endif /****************** end of common block ********************/ boolean is_global; boolean do_post_task_switch_extension; @@ -619,7 +625,9 @@ Thread _Thread_Idle_body( #ifndef __RTEMS_APPLICATION__ #include <rtems/score/thread.inl> #endif +#if defined(RTEMS_MULTIPROCESSING) #include <rtems/score/threadmp.h> +#endif #ifdef __cplusplus } |