summaryrefslogtreecommitdiff
path: root/sys/arch/pc532/include/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/pc532/include/profile.h')
-rw-r--r--sys/arch/pc532/include/profile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/pc532/include/profile.h b/sys/arch/pc532/include/profile.h
index 5f8490ad786..046cadee104 100644
--- a/sys/arch/pc532/include/profile.h
+++ b/sys/arch/pc532/include/profile.h
@@ -38,10 +38,10 @@
/* pc532 version, 5/15/94.
*/
-#define _MCOUNT_DECL static inline void _mcount
+#define _MCOUNT_DECL static __inline void _mcount
#define MCOUNT \
-extern void mcount() asm("mcount"); \
+extern void mcount() __asm("mcount"); \
void \
mcount() \
{ \
@@ -52,11 +52,11 @@ mcount() \
* \
* selfpc = pc pushed by mcount call \
*/ \
- asm("movd 4(fp),%0" : "=r" (selfpc)); \
+ __asm("movd 4(fp),%0" : "=r" (selfpc)); \
/* \
* frompcindex = pc pushed by call into self. \
*/ \
- asm("movd 4(0(fp)),%0" : "=r" (frompcindex)); \
+ __asm("movd 4(0(fp)),%0" : "=r" (frompcindex)); \
_mcount(frompcindex, selfpc); \
}