svn commit: r306022 - head/sys/dev/hwpmc

Ed Maste emaste at FreeBSD.org
Tue Sep 20 12:56:04 UTC 2016


Author: emaste
Date: Tue Sep 20 12:56:03 2016
New Revision: 306022
URL: https://svnweb.freebsd.org/changeset/base/306022

Log:
  hwpmc: remove sys/capability.h backwards compatibility
  
  The Capsicum header is installed as sys/capsicum.h in stable/10 as well.

Modified:
  head/sys/dev/hwpmc/hwpmc_logging.c

Modified: head/sys/dev/hwpmc/hwpmc_logging.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_logging.c	Tue Sep 20 11:11:06 2016	(r306021)
+++ head/sys/dev/hwpmc/hwpmc_logging.c	Tue Sep 20 12:56:03 2016	(r306022)
@@ -37,11 +37,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
-#if (__FreeBSD_version >= 1100000)
 #include <sys/capsicum.h>
-#else
-#include <sys/capability.h>
-#endif
 #include <sys/file.h>
 #include <sys/kernel.h>
 #include <sys/kthread.h>


More information about the svn-src-all mailing list