diff options
author | dfr <dfr@FreeBSD.org> | 2002-03-21 09:35:18 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2002-03-21 09:35:18 +0000 |
commit | 35064c1d50081e9042669050a2458737168eca40 (patch) | |
tree | e2f71952027866b62d167d21aaaca9288e754aa5 /sys | |
parent | dea7dd81b76d83cb17c0c1e01fbef70c5c203b6a (diff) | |
download | FreeBSD-src-35064c1d50081e9042669050a2458737168eca40.zip FreeBSD-src-35064c1d50081e9042669050a2458737168eca40.tar.gz |
Change cpu_critical_enter/exit to intr_disable/restore.
Diffstat (limited to 'sys')
-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 f5d5e7f..f15a451 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; |