summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/include/profile.h4
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;