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

Konstantin Belousov kib at FreeBSD.org
Tue Mar 12 18:57:12 UTC 2019


Author: kib
Date: Tue Mar 12 18:57:11 2019
New Revision: 345074
URL: https://svnweb.freebsd.org/changeset/base/345074

Log:
  Remove useless version check.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

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

Modified: head/sys/dev/hwpmc/hwpmc_core.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_core.c	Tue Mar 12 18:19:44 2019	(r345073)
+++ head/sys/dev/hwpmc/hwpmc_core.c	Tue Mar 12 18:57:11 2019	(r345074)
@@ -40,11 +40,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
 
 #include <machine/intr_machdep.h>
-#if (__FreeBSD_version >= 1100000)
 #include <x86/apicvar.h>
-#else
-#include <machine/apicvar.h>
-#endif
 #include <machine/cpu.h>
 #include <machine/cpufunc.h>
 #include <machine/md_var.h>


More information about the svn-src-head mailing list