summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/threadmp.h')
-rw-r--r--cpukit/score/include/rtems/score/threadmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadmp.h b/cpukit/score/include/rtems/score/threadmp.h
index 6c9788fe28..555bca2053 100644
--- a/cpukit/score/include/rtems/score/threadmp.h
+++ b/cpukit/score/include/rtems/score/threadmp.h
@@ -19,6 +19,10 @@
#ifndef _RTEMS_SCORE_THREADMP_H
#define _RTEMS_SCORE_THREADMP_H
+#ifndef _RTEMS_SCORE_THREADIMPL_H
+# error "Never use <rtems/score/threadmp.h> directly; include <rtems/score/threadimpl.h> instead."
+#endif
+
/**
* @defgroup ScoreThreadMP Thread Handler Multiprocessing Support
*