svn commit: r345182 - stable/12/sys/dev/hwpmc

Konstantin Belousov kib at FreeBSD.org
Fri Mar 15 14:18:20 UTC 2019


Author: kib
Date: Fri Mar 15 14:18:19 2019
New Revision: 345182
URL: https://svnweb.freebsd.org/changeset/base/345182

Log:
  MFC r345074:
  Remove useless version check.

Modified:
  stable/12/sys/dev/hwpmc/hwpmc_core.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/hwpmc/hwpmc_core.c
==============================================================================
--- stable/12/sys/dev/hwpmc/hwpmc_core.c	Fri Mar 15 14:16:16 2019	(r345181)
+++ stable/12/sys/dev/hwpmc/hwpmc_core.c	Fri Mar 15 14:18:19 2019	(r345182)
@@ -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-all mailing list