diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-31 16:48:38 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-31 16:48:38 +0000 |
commit | 97c73edae65fc1e81541532fd8344cbca0d8a6a5 (patch) | |
tree | a4e0dc196759c2985ee5644ca8060f91ade5d87c /cpukit/score/cpu/m68k/rtems/score/cpu.h | |
parent | 2007-07-31 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-97c73edae65fc1e81541532fd8344cbca0d8a6a5.tar.bz2 |
Replace M68K_COLDFIRE_ARCH with __mcoldfire__.
Diffstat (limited to 'cpukit/score/cpu/m68k/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/m68k/rtems/score/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h index 7f682f9fa6..a973e406ab 100644 --- a/cpukit/score/cpu/m68k/rtems/score/cpu.h +++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h @@ -436,7 +436,7 @@ void _CPU_Thread_Idle_body( void ); * + disable interrupts and halt the CPU */ -#if ( M68K_COLDFIRE_ARCH == 1 ) +#if ( defined(__mcoldfire__) ) #define _CPU_Fatal_halt( _error ) \ { asm volatile( "move.w %%sr,%%d0\n\t" \ "or.l %2,%%d0\n\t" \ @@ -494,7 +494,7 @@ void _CPU_Thread_Idle_body( void ); /* duplicates BFFFO results for 16 bits (i.e., 15-(_priority) in _CPU_Priority_bits_index is not needed), handles the 0 case, and does not molest _value -- jsg */ -#if ( M68K_COLDFIRE_ARCH == 1 ) +#if ( defined(__mcoldfire__) ) #define _CPU_Bitfield_Find_first_bit( _value, _output ) \ { \ extern const unsigned char __BFFFOtable[256]; \ |