[rtems commit] rtems/score/object.h: Include <rtems/score/cpu.h> to honor 16-bit Ids
Joel Sherrill
joel at rtems.org
Wed Oct 15 19:15:58 UTC 2014
Module: rtems
Branch: master
Commit: 8237b2d39c8a4244ebf4adac7b9a9927d509f189
Changeset: http://git.rtems.org/rtems/commit/?id=8237b2d39c8a4244ebf4adac7b9a9927d509f189
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Wed Oct 15 09:15:07 2014 -0500
rtems/score/object.h: Include <rtems/score/cpu.h> to honor 16-bit Ids
Selection of 16-bit object Ids is a port specific decision. Somewhere
along the way, the file providing this information was dropped from
the include file set. This resulted in the code being compiled with
a mix of 16 and 32 bit ID assumptions for those targets with 16-bit Ids.
---
cpukit/score/include/rtems/score/object.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 4eb66ad..03afc9b 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -21,6 +21,7 @@
#define _RTEMS_SCORE_OBJECT_H
#include <rtems/score/basedefs.h>
+#include <rtems/score/cpu.h>
#include <rtems/score/chain.h>
#ifdef __cplusplus
More information about the vc
mailing list