# HG changeset patch # User mikek # Date 1276610568 -3600 # Node ID e28362b72ccc6ac941de47893aff16aefe438402 # Parent b5dd6d3f5c21721ec38a31b04ec48ac6f2c94162 Fix for Bug 2975 - [GCCE] Illegal inline assembler in kernel/eka/drivers/debug/rmdebug/d_rmd_stepping.cpp diff -r b5dd6d3f5c21 -r e28362b72ccc 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;