summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/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/m68k/include/profile.h
parent9b96dfaa80ad0fb9968937addb7ab614508aeebc (diff)
Use __asm in place of asm
Diffstat (limited to 'sys/arch/m68k/include/profile.h')
-rw-r--r--sys/arch/m68k/include/profile.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/m68k/include/profile.h b/sys/arch/m68k/include/profile.h
index 137da3739dc..773f3a57f24 100644
--- a/sys/arch/m68k/include/profile.h
+++ b/sys/arch/m68k/include/profile.h
@@ -35,13 +35,13 @@
* @(#)profile.h 8.1 (Berkeley) 6/10/93
*/
-#define _MCOUNT_DECL static inline void _mcount
+#define _MCOUNT_DECL static __inline void _mcount
#define MCOUNT \
-extern void mcount() asm("mcount"); void mcount() { \
+extern void mcount() __asm("mcount"); void mcount() { \
int selfpc, frompcindex; \
- asm("movl a6@(4),%0" : "=r" (selfpc)); \
- asm("movl a6@(0)@(4),%0" : "=r" (frompcindex)); \
+ __asm("movl a6@(4),%0" : "=r" (selfpc)); \
+ __asm("movl a6@(0)@(4),%0" : "=r" (frompcindex)); \
_mcount(frompcindex, selfpc); \
}
@@ -53,9 +53,9 @@ extern void mcount() asm("mcount"); void mcount() { \
* recursively.
*/
#define MCOUNT_ENTER \
- asm("movw sr,%0" : "=g" (s)); \
- asm("movw #0x2700,sr")
+ __asm("movw sr,%0" : "=g" (s)); \
+ __asm("movw #0x2700,sr")
#define MCOUNT_EXIT \
- asm("movw %0,sr" : : "g" (s))
+ __asm("movw %0,sr" : : "g" (s))
#endif /* _KERNEL */