diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-12-06 15:09:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-12-06 15:09:30 +0000 |
commit | 01a5f6b2c6f1cdbc25a7f20ac9cd161bb39aa6be (patch) | |
tree | 5d3ab1b9e6dd7cf20d401a705d15565b241317a2 /c/src/exec/score/headers/system.h | |
parent | Reworked mkdir line to invoke smaller lines. (diff) | |
download | rtems-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/headers/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/score/headers/system.h b/c/src/exec/score/headers/system.h index 98f1073228..e9026341cd 100644 --- a/c/src/exec/score/headers/system.h +++ b/c/src/exec/score/headers/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) \ |