summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/score/cpu.h
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/arm/rtems/score/cpu.h
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 '')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index b423dbac0a..d7c54ade3a 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -476,7 +476,7 @@ void _CPU_Context_validate( uintptr_t pattern );
uint32_t mpidr;
/* Use ARMv7 Multiprocessor Affinity Register (MPIDR) */
- __asm__ volatile (
+ __asm__ (
"mrc p15, 0, %[mpidr], c0, c0, 5\n"
: [mpidr] "=&r" (mpidr)
);