From 77b51ddfcdbc093ed35d1c8e73e63e7c0e3aa5fe Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Thu, 21 Mar 2002 09:35:18 +0000 Subject: [PATCH] Change cpu_critical_enter/exit to intr_disable/restore. --- sys/ia64/include/profile.h | 4 ++-- 1 file 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;