svn commit: r364918 - head/sys/sys

Warner Losh imp at FreeBSD.org
Fri Aug 28 15:09:43 UTC 2020


Author: imp
Date: Fri Aug 28 15:09:43 2020
New Revision: 364918
URL: https://svnweb.freebsd.org/changeset/base/364918

Log:
  remove splbio and splcam
  
  splbio and splcan have been completely removed from the tree. We can
  now remove their definitions here. They've been nops for a long time
  and were only preserved to give hints on how to lock drivers. All
  drivers have been deleted or converted, so they can be deleted now.

Modified:
  head/sys/sys/systm.h

Modified: head/sys/sys/systm.h
==============================================================================
--- head/sys/sys/systm.h	Fri Aug 28 13:15:13 2020	(r364917)
+++ head/sys/sys/systm.h	Fri Aug 28 15:09:43 2020	(r364918)
@@ -497,8 +497,6 @@ void	kern_reboot(int) __dead2;
 void	shutdown_nice(int);
 
 /* Stubs for obsolete functions that used to be for interrupt management */
-static __inline intrmask_t	splbio(void)		{ return 0; }
-static __inline intrmask_t	splcam(void)		{ return 0; }
 static __inline intrmask_t	splclock(void)		{ return 0; }
 static __inline intrmask_t	splhigh(void)		{ return 0; }
 static __inline intrmask_t	splimp(void)		{ return 0; }


More information about the svn-src-head mailing list