diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-25 09:54:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-25 10:07:42 +0200 |
commit | 05259de1c92f44c2a0b1fc9ce38d125756e844ce (patch) | |
tree | 686b1cd77dfd18a2f081ae4888fb21bc32d52be4 /cpukit/score/cpu | |
parent | bsps: Fix function declaration warnings (diff) | |
download | rtems-05259de1c92f44c2a0b1fc9ce38d125756e844ce.tar.bz2 |
powerpc: Fix _CPU_Instruction_illegal()
Apparently the .word assembler directive is not the right thing on this
target.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r-- | cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h index e46d9bfabc..4a2f5adedb 100644 --- a/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h +++ b/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h @@ -244,7 +244,7 @@ void _CPU_Context_validate( uintptr_t pattern ); RTEMS_INLINE_ROUTINE void _CPU_Instruction_illegal( void ) { - __asm__ volatile ( ".word 0" ); + __asm__ volatile ( ".long 0" ); } RTEMS_INLINE_ROUTINE void _CPU_Instruction_no_operation( void ) |