diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2006-07-13 00:36:15 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2006-07-13 00:36:15 +0000 |
commit | a031fc2272f3837b755ade30ba8d0c61820ccb93 (patch) | |
tree | 3a6c9f2b66dbd1f9fdabd1847dc405d3cadc00fd /cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h | |
parent | * pppd/sys-rtems.c: fixed error message so that the correct (diff) | |
download | rtems-a031fc2272f3837b755ade30ba8d0c61820ccb93.tar.bz2 |
* rtems/old-exceptions/cpu.h, rtems/powerpc/registers.h:
Checked inline assembly; added early-clobber '&' to output operands
of multi-instruction asms.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h index a81b499446..19b76da56b 100644 --- a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h @@ -448,7 +448,7 @@ extern const unsigned int _PPC_MSR_DISABLE_MASK; { register unsigned int _disable_mask = _PPC_MSR_DISABLE_MASK; \ asm volatile ( \ "mtmsr %0; andc %1,%0,%1; mtmsr %1" : \ - "=r" ((_isr_cookie)), "=r" ((_disable_mask)) : \ + "=&r" ((_isr_cookie)), "=&r" ((_disable_mask)) : \ "0" ((_isr_cookie)), "1" ((_disable_mask)) \ ); \ } |