diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2002-01-31 13:49:55 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2002-01-31 13:49:55 +0000 |
| commit | 92fd4795fa78bf3beebbdacd7f9c78e7f746cb01 (patch) | |
| tree | a3096cb4e25f6b6dc5a29aa09e6c756260552d80 /sys/i386/include/profile.h | |
| parent | 85085b2098f95f9873c245d05fe0c62d740951f7 (diff) | |
Notes
Diffstat (limited to 'sys/i386/include/profile.h')
| -rw-r--r-- | sys/i386/include/profile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/profile.h b/sys/i386/include/profile.h index 82ff6030b6084..bd8a7da017a97 100644 --- a/sys/i386/include/profile.h +++ b/sys/i386/include/profile.h @@ -64,6 +64,7 @@ #else #define MCOUNT_DECL(s) u_long s; #ifdef SMP +extern int mcount_lock; #define MCOUNT_ENTER(s) { s = read_eflags(); disable_intr(); \ while (!atomic_cmpset_acq_int(&mcount_lock, 0, 1)) \ /* nothing */ ; } |
