diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-18 20:47:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-18 20:47:39 +0000 |
commit | 20697735717407d0d2309e66ad47007b078ae7d3 (patch) | |
tree | ca396c6354a943bd360a8dc5490bbdad80c2e3ce /c/src/exec/score/cpu/powerpc | |
parent | corrected white space problems (diff) | |
download | rtems-20697735717407d0d2309e66ad47007b078ae7d3.tar.bz2 |
use address object to avoid direct pointer arithmetic
Diffstat (limited to 'c/src/exec/score/cpu/powerpc')
-rw-r--r-- | c/src/exec/score/cpu/powerpc/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/powerpc/cpu.h b/c/src/exec/score/cpu/powerpc/cpu.h index 370e980695..bb7b1fea49 100644 --- a/c/src/exec/score/cpu/powerpc/cpu.h +++ b/c/src/exec/score/cpu/powerpc/cpu.h @@ -767,7 +767,7 @@ unsigned32 _CPU_ISR_Get_level( void ); */ #define _CPU_Context_Fp_start( _base, _offset ) \ - ( (void *) (_base) + (_offset) ) + ( (void *) _Addresses_Add_offset( (_base), (_offset) ) ) /* * This routine initializes the FP context area passed to it to. |