Fix for Bug 2975 - [GCCE] Illegal inline assembler in kernel/eka/drivers/debug/rmdebug/d_rmd_stepping.cpp
--- a/kernel/eka/drivers/debug/rmdebug/d_rmd_stepping.cpp Tue Jun 15 13:29:38 2010 +0100
+++ b/kernel/eka/drivers/debug/rmdebug/d_rmd_stepping.cpp Tue Jun 15 15:02:48 2010 +0100
@@ -325,7 +325,7 @@
// determine the architecture
TUint32 cpuid;
- asm("mrc p15, 0, cpuid, c0, c0, 0 ");
+ asm("mrc p15, 0, %[id], c0, c0, 0 " : [id] "=r" (cpuid));
LOG_MSG2("DRMDStepping::PCAfterInstructionExecutes() - cpuid = 0x%08x\n",cpuid);
cpuid >>= 8;