summaryrefslogtreecommitdiff
path: root/sys/arch/pc532/include/profile.h
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-24 16:52:42 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-24 16:52:42 +0000
commitf8777bdaaccd944f0b3553ff14cdf9072124acf8 (patch)
treed194e3aec4d44ada11c8b12e846e591a74c00ae8 /sys/arch/pc532/include/profile.h
parent9b96dfaa80ad0fb9968937addb7ab614508aeebc (diff)
Use __asm in place of asm
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); \
}