Author: imp
Date: Thu Nov 21 18:49:54 2019
New Revision: 354972
URL: https://svnweb.freebsd.org/changeset/base/354972

Log:
  Remove two obsolete comments that reference splhigh/splx.

Modified:
  head/sys/arm/include/profile.h
  head/sys/mips/include/profile.h

Modified: head/sys/arm/include/profile.h
==============================================================================
--- head/sys/arm/include/profile.h      Thu Nov 21 18:21:30 2019        
(r354971)
+++ head/sys/arm/include/profile.h      Thu Nov 21 18:49:54 2019        
(r354972)
@@ -114,12 +114,6 @@ void user(void);
 
 #include <machine/asm.h>
 #include <machine/cpufunc.h>
-/*
- * 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 */
 

Modified: head/sys/mips/include/profile.h
==============================================================================
--- head/sys/mips/include/profile.h     Thu Nov 21 18:21:30 2019        
(r354971)
+++ head/sys/mips/include/profile.h     Thu Nov 21 18:49:54 2019        
(r354972)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to