svn commit: r333021 - head/sys/sys
Sean Bruno
sbruno at FreeBSD.org
Thu Apr 26 17:32:37 UTC 2018
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)
More information about the svn-src-all
mailing list