summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_swap.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-05-04 10:21:16 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-05-04 10:21:16 +0000
commit813d2bc8f2e9477e9a0c41771f9443132fa2fe3a (patch)
treefeefde6e7adb90658b3aa39daf722f5e24287560 /sys/uvm/uvm_swap.c
parent4e12c88d279f74909ef5bbccff4947dd666e7faf (diff)
reduce the scope of things that include uvm_swap_encrypt.h.
uvm_meter.c needs it to route the sysctl, uvm_swap.c needs it to use the functionality, and uvm_swap_encrypt.c needs it to for obvious reasons. userland sysctl already includes it explicitely. everything else doesnt and shouldnt care. ok miod@
Diffstat (limited to 'sys/uvm/uvm_swap.c')
-rw-r--r--sys/uvm/uvm_swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c
index c0df4e59649..e2fbb7f55b1 100644
--- a/sys/uvm/uvm_swap.c
+++ b/sys/uvm/uvm_swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_swap.c,v 1.134 2015/01/27 03:17:37 dlg Exp $ */
+/* $OpenBSD: uvm_swap.c,v 1.135 2015/05/04 10:21:15 dlg Exp $ */
/* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */
/*
@@ -61,7 +61,7 @@
#include <uvm/uvm.h>
#ifdef UVM_SWAP_ENCRYPT
-#include <sys/syslog.h>
+#include <uvm/uvm_swap_encrypt.h>
#endif
#include <sys/specdev.h>