diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-03-05 01:39:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-03-05 01:39:14 +0000 |
commit | 1c4b91c4c22e8eb0d1f42a5e8323cb58f8e4c698 (patch) | |
tree | 30a54d63f336fcece5a4151bda50c5450cdc7fbe /sys/arch | |
parent | 97621a7235ff2887bd6f1455d57414875008061d (diff) |
Do not redefine PAGE_SHIFT/PAGE_SIZE/PAGE_MASK in vmparam.h; those
definitions are already found in param.h
ok jsg
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm/include/vmparam.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/arm/include/vmparam.h b/sys/arch/arm/include/vmparam.h index 755818c3428..5f086f89c53 100644 --- a/sys/arch/arm/include/vmparam.h +++ b/sys/arch/arm/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.18 2017/10/01 17:05:50 naddy Exp $ */ +/* $OpenBSD: vmparam.h,v 1.19 2018/03/05 01:39:13 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2003/05/21 18:04:44 thorpej Exp $ */ /* @@ -73,14 +73,6 @@ #endif /* - * While the ARM architecture defines Section mappings, large pages, - * and small pages, the standard page size is (and will always be) 4K. - */ -#define PAGE_SHIFT 12 -#define PAGE_SIZE (1 << PAGE_SHIFT) /* bytes/page */ -#define PAGE_MASK (PAGE_SIZE - 1) - -/* * Mach derived constants */ #define VM_MIN_ADDRESS ((vaddr_t) PAGE_SIZE) |