diff --git a/sys/arm/include/profile.h b/sys/arm/include/profile.h index a4973175f3bd..6fcbbdc2b83a 100644 --- a/sys/arm/include/profile.h +++ b/sys/arm/include/profile.h @@ -114,12 +114,6 @@ void user(void); #include #include -/* - * splhigh() and splx() are heavyweight, and call mcount(). Therefore - * we disabled interrupts (IRQ, but not FIQ) directly on the CPU. - * - * We're lucky that the CPSR and 's' both happen to be 'int's. - */ #define MCOUNT_ENTER(s) {s = intr_disable(); } /* kill IRQ */ #define MCOUNT_EXIT(s) {intr_restore(s); } /* restore old value */ diff --git a/sys/mips/include/profile.h b/sys/mips/include/profile.h index 3f04e298c7c5..5968deb60b43 100644 --- a/sys/mips/include/profile.h +++ b/sys/mips/include/profile.h @@ -76,13 +76,6 @@ ".set at"); #ifdef _KERNEL -/* - * The following two macros do splhigh and splx respectively. - * They have to be defined this way because these are real - * functions on the MIPS, and we do not want to invoke mcount - * recursively. - */ - #define MCOUNT_DECL(s) u_long s; #ifdef SMP extern int mcount_lock;