diff options
author | paul <paul@FreeBSD.org> | 1994-08-21 04:55:31 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1994-08-21 04:55:31 +0000 |
commit | 08a1a02226b4d527152475629f769143de5d8bb0 (patch) | |
tree | 466fcb5026270f5cbab9702d66e944ebd8d0a7d9 /sys/amd64/include/profile.h | |
parent | 1f5dfa1be240017a7a4d938578b9a01ce1082391 (diff) | |
download | FreeBSD-src-08a1a02226b4d527152475629f769143de5d8bb0.zip FreeBSD-src-08a1a02226b4d527152475629f769143de5d8bb0.tar.gz |
Made idempotent.
Reviewed by:
Submitted by:
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r-- | sys/amd64/include/profile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h index 62dd697..03133aa 100644 --- a/sys/amd64/include/profile.h +++ b/sys/amd64/include/profile.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)profile.h 8.1 (Berkeley) 6/11/93 - * $Id$ + * $Id: profile.h,v 1.2 1994/08/02 07:38:56 davidg Exp $ */ +#ifndef _I386_MACHINE_PROFILE_H_ +#define _I386_MACHINE_PROFILE_H_ + #define _MCOUNT_DECL static inline void _mcount #define MCOUNT \ @@ -55,3 +58,5 @@ extern void mcount() asm("mcount"); void mcount() { \ frompcindex = ((int *)frompcindex)[1]; \ _mcount(frompcindex, selfpc); \ } + +#endif |