diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-22 20:28:32 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-22 20:28:32 +0000 |
commit | 2b415456d36322081a02759b30d8b26ba0ed5b6f (patch) | |
tree | 44347c9881d1afa387069dd057973495eec99eee | |
parent | 492014073fd7fe175f7a8e9b8bd3fc2eba689b74 (diff) |
Remove unused VM_MAX_KERNEL_BUF define.
-rw-r--r-- | sys/arch/arm/include/vmparam.h | 13 | ||||
-rw-r--r-- | sys/arch/sparc64/include/param.h | 3 |
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/arch/arm/include/vmparam.h b/sys/arch/arm/include/vmparam.h index cfb23f6bdc4..fe0914962ce 100644 --- a/sys/arch/arm/include/vmparam.h +++ b/sys/arch/arm/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.4 2008/06/24 21:24:03 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.5 2010/11/22 20:28:30 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2003/05/21 18:04:44 thorpej Exp $ */ /* @@ -98,17 +98,6 @@ #define VM_MIN_KERNEL_ADDRESS ((vaddr_t) ARM_KERNEL_BASE) #define VM_MAX_KERNEL_ADDRESS ((vaddr_t) 0xffffffff) -#ifdef _KERNEL - -/* XXX max. amount of KVM to be used by buffers. */ -#ifndef VM_MAX_KERNEL_BUF -extern vaddr_t virtual_avail; -extern vaddr_t virtual_end; - -#define VM_MAX_KERNEL_BUF \ - ((virtual_end - virtual_avail) * 4 / 10) -#endif - /* * pmap-specific data store in the vm_page structure. */ diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h index d40e8158c58..6a917a7d1bd 100644 --- a/sys/arch/sparc64/include/param.h +++ b/sys/arch/sparc64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.32 2010/06/18 23:49:37 miod Exp $ */ +/* $OpenBSD: param.h,v 1.33 2010/11/22 20:28:31 miod Exp $ */ /* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */ /* @@ -136,7 +136,6 @@ */ #define KERNBASE 0x001000000 /* start of kernel virtual space */ #define KERNEND 0x0e0000000 /* end of kernel virtual space */ -#define VM_MAX_KERNEL_BUF ((KERNEND-KERNBASE)/4) #define _MAXNBPG 8192 /* fixed VAs, independent of actual NBPG */ |