summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-13 13:08:46 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-14 10:28:30 +0100
commit6f90ef752db1e5ae1af661fc15acef6d07d2c097 (patch)
tree01629d057afda64f84c1533fccb51386a6509693 /cpukit/score/cpu/powerpc/rtems/score
parentscore: Add CPU counter support (diff)
downloadrtems-6f90ef752db1e5ae1af661fc15acef6d07d2c097.tar.bz2
score: Remove volatile from asm statements
The instructions to get the processor current index have no side-effects.
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index 647c665ee6..f4aa9c4f1a 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -1040,7 +1040,7 @@ void _CPU_Context_validate( uintptr_t pattern );
uint32_t pir;
/* Use Book E Processor ID Register (PIR) */
- __asm__ volatile (
+ __asm__ (
"mfspr %[pir], 286"
: [pir] "=&r" (pir)
);