Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2019 18:57:11 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345074 - head/sys/dev/hwpmc
Message-ID:  <201903121857.x2CIvBJL023336@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903121857.x2CIvBJL023336>