summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/include/rtems/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-06 15:09:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-06 15:09:30 +0000
commit01a5f6b2c6f1cdbc25a7f20ac9cd161bb39aa6be (patch)
tree5d3ab1b9e6dd7cf20d401a705d15565b241317a2 /c/src/exec/score/include/rtems/system.h
parentReworked mkdir line to invoke smaller lines. (diff)
downloadrtems-01a5f6b2c6f1cdbc25a7f20ac9cd161bb39aa6be.tar.bz2
Moved include of rtems/score/cpu.h to make sure TRUE and FALSE were defined.
This simple error resulted in the wrong FP context structure being used for hardware contexts on the m68k. This was a difficult problem to find.
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/include/rtems/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/score/include/rtems/system.h b/c/src/exec/score/include/rtems/system.h
index 98f1073228..e9026341cd 100644
--- a/c/src/exec/score/include/rtems/system.h
+++ b/c/src/exec/score/include/rtems/system.h
@@ -96,8 +96,6 @@ extern "C" {
typedef void * proc_ptr;
-#include <rtems/score/cpu.h> /* processor specific information */
-
/*
* Define NULL
*/
@@ -120,6 +118,8 @@ typedef void * proc_ptr;
#define FALSE (0)
#endif
+#include <rtems/score/cpu.h> /* processor specific information */
+
#define stringify( _x ) # _x
#define RTEMS_offsetof(type, field) \