summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-31 17:03:25 +0000
committerderaadt <deraadt@openbsd.org>2013-03-31 17:03:25 +0000
commit3451141bd7164e05ee427428c43824f2d00a798d (patch)
tree621829461165d30e4684df512aaf7e9111498c7d
parentunbreak tree (diff)
downloadwireguard-openbsd-3451141bd7164e05ee427428c43824f2d00a798d.tar.xz
wireguard-openbsd-3451141bd7164e05ee427428c43824f2d00a798d.zip
do not need machine/cpu.h directly
-rw-r--r--sys/dev/ksyms.c4
-rw-r--r--sys/uvm/uvm_glue.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/ksyms.c b/sys/dev/ksyms.c
index 2aec3c20c3a..086fdd1d9af 100644
--- a/sys/dev/ksyms.c
+++ b/sys/dev/ksyms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ksyms.c,v 1.21 2011/06/23 16:02:33 tedu Exp $ */
+/* $OpenBSD: ksyms.c,v 1.22 2013/03/31 17:03:25 deraadt Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
@@ -40,8 +40,6 @@
#include <sys/exec_elf.h>
#endif
-#include <machine/cpu.h>
-
extern char *esym; /* end of symbol table */
#if defined(__sparc64__) || defined(__mips__)
extern char *ssym; /* end of kernel */
diff --git a/sys/uvm/uvm_glue.c b/sys/uvm/uvm_glue.c
index c2d205ce656..54aabfec330 100644
--- a/sys/uvm/uvm_glue.c
+++ b/sys/uvm/uvm_glue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_glue.c,v 1.59 2012/03/23 15:51:26 guenther Exp $ */
+/* $OpenBSD: uvm_glue.c,v 1.60 2013/03/31 17:06:34 deraadt Exp $ */
/* $NetBSD: uvm_glue.c,v 1.44 2001/02/06 19:54:44 eeh Exp $ */
/*
@@ -84,8 +84,6 @@
#include <uvm/uvm.h>
-#include <machine/cpu.h>
-
/*
* uvm_kernacc: can the kernel access a region of memory
*