diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-24 16:52:42 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-24 16:52:42 +0000 |
commit | f8777bdaaccd944f0b3553ff14cdf9072124acf8 (patch) | |
tree | d194e3aec4d44ada11c8b12e846e591a74c00ae8 /sys/arch/i386/include | |
parent | 9b96dfaa80ad0fb9968937addb7ab614508aeebc (diff) |
Use __asm in place of asm
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/profile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/include/profile.h b/sys/arch/i386/include/profile.h index 163ff3afc17..f7035d6ae99 100644 --- a/sys/arch/i386/include/profile.h +++ b/sys/arch/i386/include/profile.h @@ -35,10 +35,10 @@ * @(#)profile.h 8.1 (Berkeley) 6/11/93 */ -#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() \ { \ @@ -49,11 +49,11 @@ mcount() \ * \ * selfpc = pc pushed by mcount call \ */ \ - asm("movl 4(%%ebp),%0" : "=r" (selfpc)); \ + __asm("movl 4(%%ebp),%0" : "=r" (selfpc)); \ /* \ * frompcindex = pc pushed by call into self. \ */ \ - asm("movl (%%ebp),%0;movl 4(%0),%0" : "=r" (frompcindex)); \ + __asm("movl (%%ebp),%0;movl 4(%0),%0" : "=r" (frompcindex)); \ _mcount(frompcindex, selfpc); \ } |