summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64/include/profile.h')
-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 038c805..8d93c5c 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 = critical_enter()
+ _c = cpu_critical_enter()
#define MCOUNT_EXIT(s) \n\
- (void)critical_exit(_c)
+ cpu_critical_exit(_c)
#define MCOUNT_DECL(s) critical_t c;
#ifdef GUPROF
struct gmonparam;
OpenPOWER on IntegriCloud