diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-06-27 12:41:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-06-27 12:41:24 +0000 |
commit | 2a30d23bbc18c28379f40c0e61013db55e253462 (patch) | |
tree | fce8f3852c76aa3850aa70d499a9c240b147172e /sys/arch | |
parent | 9190aa703c7dbeac82eb95dc41a5e8326206e2d1 (diff) |
Bunch of include adjustements to restore compilability.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/aviion/aviion/machdep.c | 5 | ||||
-rw-r--r-- | sys/arch/gumstix/gumstix/gumstix_machdep.c | 5 | ||||
-rw-r--r-- | sys/arch/landisk/landisk/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/luna88k/luna88k/machdep.c | 5 | ||||
-rw-r--r-- | sys/arch/m88k/m88k/pmap.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/vmes.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 5 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/vmel.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/vmes.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 6 | ||||
-rw-r--r-- | sys/arch/sh/sh/locore_c.c | 3 | ||||
-rw-r--r-- | sys/arch/sh/sh/trap.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vax/machdep.c | 8 |
13 files changed, 32 insertions, 27 deletions
diff --git a/sys/arch/aviion/aviion/machdep.c b/sys/arch/aviion/aviion/machdep.c index 9c01103039a..918c0541c1c 100644 --- a/sys/arch/aviion/aviion/machdep.c +++ b/sys/arch/aviion/aviion/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.38 2010/06/27 03:03:48 thib Exp $ */ +/* $OpenBSD: machdep.c,v 1.39 2010/06/27 12:41:21 miod Exp $ */ /* * Copyright (c) 2007 Miodrag Vallat. * @@ -100,8 +100,7 @@ #include <dev/cons.h> -#include <uvm/uvm_extern.h> -#include <uvm/uvm_swap.h> +#include <uvm/uvm.h> #include "ksyms.h" #if DDB diff --git a/sys/arch/gumstix/gumstix/gumstix_machdep.c b/sys/arch/gumstix/gumstix/gumstix_machdep.c index 43edb526dcb..413201cef97 100644 --- a/sys/arch/gumstix/gumstix/gumstix_machdep.c +++ b/sys/arch/gumstix/gumstix/gumstix_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gumstix_machdep.c,v 1.3 2010/06/27 03:03:48 thib Exp $ */ +/* $OpenBSD: gumstix_machdep.c,v 1.4 2010/06/27 12:41:23 miod Exp $ */ /* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */ /* @@ -239,9 +239,6 @@ pv_addr_t kernel_pt_table[NUM_KERNEL_PTS]; extern struct user *proc0paddr; -struct uvm_constraint_range dma_constraint = { 0x0, (paddr_t)-1 }; -struct uvm_constraint_range *uvm_md_constraints[] = { NULL }; - /* Prototypes */ #define BOOT_STRING_MAGIC 0x4f425344 diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c index 23f01445da0..4d6e85ff229 100644 --- a/sys/arch/landisk/landisk/machdep.c +++ b/sys/arch/landisk/landisk/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.22 2010/06/27 03:03:48 thib Exp $ */ +/* $OpenBSD: machdep.c,v 1.23 2010/06/27 12:41:23 miod Exp $ */ /* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -78,7 +78,7 @@ #include <sys/core.h> #include <sys/kcore.h> -#include <uvm/uvm_extern.h> +#include <uvm/uvm.h> #include <dev/cons.h> diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c index 3e37e07e8a0..26bf9a89155 100644 --- a/sys/arch/luna88k/luna88k/machdep.c +++ b/sys/arch/luna88k/luna88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.71 2010/06/27 03:03:48 thib Exp $ */ +/* $OpenBSD: machdep.c,v 1.72 2010/06/27 12:41:23 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -91,8 +91,7 @@ #include <dev/cons.h> -#include <uvm/uvm_extern.h> -#include <uvm/uvm_swap.h> +#include <uvm/uvm.h> #include "ksyms.h" #if DDB diff --git a/sys/arch/m88k/m88k/pmap.c b/sys/arch/m88k/m88k/pmap.c index 87a5396596f..767dfc55e91 100644 --- a/sys/arch/m88k/m88k/pmap.c +++ b/sys/arch/m88k/m88k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.52 2010/06/26 23:24:43 guenther Exp $ */ +/* $OpenBSD: pmap.c,v 1.53 2010/06/27 12:41:23 miod Exp $ */ /* * Copyright (c) 2001-2004, Miodrag Vallat * Copyright (c) 1998-2001 Steve Murphree, Jr. @@ -53,6 +53,7 @@ #include <sys/msgbuf.h> #include <machine/asm_macro.h> +#include <machine/mmu.h> #include <machine/cmmu.h> #include <machine/cpu.h> #include <machine/lock.h> diff --git a/sys/arch/mvme68k/dev/vmes.c b/sys/arch/mvme68k/dev/vmes.c index f5e4002c025..f7019b2b2ea 100644 --- a/sys/arch/mvme68k/dev/vmes.c +++ b/sys/arch/mvme68k/dev/vmes.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmes.c,v 1.15 2010/06/26 23:24:43 guenther Exp $ */ +/* $OpenBSD: vmes.c,v 1.16 2010/06/27 12:41:23 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -31,6 +31,8 @@ #include <sys/kernel.h> #include <sys/device.h> +#include <uvm/uvm_extern.h> + #include <machine/autoconf.h> #include <machine/conf.h> #include <machine/cpu.h> diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index eb245c57da6..7467be7d2c7 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.121 2010/06/27 03:03:48 thib Exp $ */ +/* $OpenBSD: machdep.c,v 1.122 2010/06/27 12:41:23 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -115,8 +115,7 @@ #include <ddb/db_var.h> #endif -#include <uvm/uvm_extern.h> -#include <uvm/uvm_swap.h> +#include <uvm/uvm.h> /* the following is used externally (sysctl_hw) */ char machine[] = MACHINE; /* cpu "architecture" */ diff --git a/sys/arch/mvme88k/dev/vmel.c b/sys/arch/mvme88k/dev/vmel.c index 0d76f1d85a2..5af6bde21c1 100644 --- a/sys/arch/mvme88k/dev/vmel.c +++ b/sys/arch/mvme88k/dev/vmel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmel.c,v 1.17 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: vmel.c,v 1.18 2010/06/27 12:41:23 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -31,6 +31,8 @@ #include <sys/kernel.h> #include <sys/device.h> +#include <uvm/uvm_extern.h> + #include <machine/autoconf.h> #include <machine/conf.h> #include <machine/cpu.h> diff --git a/sys/arch/mvme88k/dev/vmes.c b/sys/arch/mvme88k/dev/vmes.c index cf3bee2f7f4..d8f6faa5575 100644 --- a/sys/arch/mvme88k/dev/vmes.c +++ b/sys/arch/mvme88k/dev/vmes.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmes.c,v 1.20 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: vmes.c,v 1.21 2010/06/27 12:41:23 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -36,6 +36,8 @@ #include <machine/conf.h> #include <machine/cpu.h> +#include <uvm/uvm_extern.h> + #include <mvme88k/dev/vme.h> /* diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index 90b9bb0aee4..0d27b9e4c3b 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.236 2010/06/27 03:03:48 thib Exp $ */ +/* $OpenBSD: machdep.c,v 1.237 2010/06/27 12:41:23 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -81,8 +81,7 @@ #include <dev/cons.h> -#include <uvm/uvm_extern.h> -#include <uvm/uvm_swap.h> +#include <uvm/uvm.h> #include "ksyms.h" #if DDB @@ -165,6 +164,7 @@ int bufcachepercent = BUFCACHEPERCENT; * 32 or 34 bit physical address bus depending upon the CPU flavor. * 32 bit DMA. "I am not aware of any system where the upper 2 bits * have ever been used" - miod@ + */ struct uvm_constraint_range dma_constraint = { 0x0, 0xffffffffUL}; struct uvm_constraint_range *uvm_md_constraints[] = { NULL }; diff --git a/sys/arch/sh/sh/locore_c.c b/sys/arch/sh/sh/locore_c.c index 319becc4e51..153589be8b2 100644 --- a/sys/arch/sh/sh/locore_c.c +++ b/sys/arch/sh/sh/locore_c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: locore_c.c,v 1.9 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: locore_c.c,v 1.10 2010/06/27 12:41:23 miod Exp $ */ /* $NetBSD: locore_c.c,v 1.13 2006/03/04 01:13:35 uwe Exp $ */ /*- @@ -114,6 +114,7 @@ #include <sh/locore.h> #include <sh/cpu.h> +#include <sh/pcb.h> #include <sh/pmap.h> #include <sh/mmu_sh3.h> #include <sh/mmu_sh4.h> diff --git a/sys/arch/sh/sh/trap.c b/sys/arch/sh/sh/trap.c index 18fd463da0d..85895c337bf 100644 --- a/sys/arch/sh/sh/trap.c +++ b/sys/arch/sh/sh/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.15 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: trap.c,v 1.16 2010/06/27 12:41:23 miod Exp $ */ /* $NetBSD: exception.c,v 1.32 2006/09/04 23:57:52 uwe Exp $ */ /* $NetBSD: syscall.c,v 1.6 2006/03/07 07:21:50 thorpej Exp $ */ @@ -86,6 +86,7 @@ #include <sys/pool.h> #include <sys/kernel.h> #include <sys/signal.h> +#include <sys/resourcevar.h> #include <sys/syscall.h> #ifdef KTRACE diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c index 1ef601972d1..d88676cb186 100644 --- a/sys/arch/vax/vax/machdep.c +++ b/sys/arch/vax/vax/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.108 2010/06/10 17:54:13 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.109 2010/06/27 12:41:23 miod Exp $ */ /* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */ /* @@ -74,8 +74,7 @@ #include <dev/cons.h> -#include <uvm/uvm_extern.h> -#include <uvm/uvm_swap.h> +#include <uvm/uvm.h> #include <net/netisr.h> #include <net/if.h> @@ -162,6 +161,9 @@ int vax_led_blink = 0; struct cpu_info cpu_info_store; +struct uvm_constraint_range dma_constraint = { 0x0, (paddr_t)-1 }; +struct uvm_constraint_range *uvm_md_constraints[] = { NULL }; + void dumpconf(void); void |