diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2002-03-21 09:35:18 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2002-03-21 09:35:18 +0000 |
| commit | 77b51ddfcdbc093ed35d1c8e73e63e7c0e3aa5fe (patch) | |
| tree | e2f71952027866b62d167d21aaaca9288e754aa5 | |
| parent | 7a43a96ab0f7805f65711627ed9b8fae71ef2787 (diff) | |
Notes
| -rw-r--r-- | sys/ia64/include/profile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/include/profile.h b/sys/ia64/include/profile.h index f5d5e7fd8086..f15a4518a892 100644 --- a/sys/ia64/include/profile.h +++ b/sys/ia64/include/profile.h @@ -100,9 +100,9 @@ _mcount: \n\ * The following two macros do splhigh and splx respectively. */ #define MCOUNT_ENTER(s) \n\ - _c = cpu_critical_enter() + _c = intr_disable() #define MCOUNT_EXIT(s) \n\ - cpu_critical_exit(_c) + intr_restore(_c) #define MCOUNT_DECL(s) critical_t c; #ifdef GUPROF struct gmonparam; |
