Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2018 17:32:36 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333021 - head/sys/sys
Message-ID:  <201804261732.w3QHWa1m099699@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Thu Apr 26 17:32:35 2018
New Revision: 333021
URL: https://svnweb.freebsd.org/changeset/base/333021

Log:
  Tigthen up kern_prefetch.h includes.  The DMAP check was not committed in
  here with HPTS so these includes aren't necessary.
  
  Comments from rrs:
  Yeah I had those in there in our version so I could
  validate the range in amd64 with the DMAP_VM but for
  some reason those don't work in head anymore.. Forgot
  to purge the headers :)
  
  Submitted by:	Kevin Bowling
  Reviewed by:	rrs
  Differential Revision:	https://reviews.freebsd.org/D15164

Modified:
  head/sys/sys/kern_prefetch.h

Modified: head/sys/sys/kern_prefetch.h
==============================================================================
--- head/sys/sys/kern_prefetch.h	Thu Apr 26 17:13:58 2018	(r333020)
+++ head/sys/sys/kern_prefetch.h	Thu Apr 26 17:32:35 2018	(r333021)
@@ -28,13 +28,6 @@
  */
 #define __kern_prefetch_h__
 #ifdef _KERNEL
-#if defined(__amd64__)
-#include <vm/vm.h>
-#include <vm/vm_extern.h>
-#include <vm/vm_page.h>
-#include <vm/vm_map.h>
-#include <vm/pmap.h>
-#endif 
 
 static __inline void
 kern_prefetch(const volatile void *addr, void* before)



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