Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include/arm32 Remove an unnecessary #ifdef



details:   https://anonhg.NetBSD.org/src/rev/6b811c7b989d
branches:  trunk
changeset: 973697:6b811c7b989d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jul 08 07:59:49 2020 +0000

description:
Remove an unnecessary #ifdef

diffstat:

 sys/arch/arm/include/arm32/vmparam.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r ad872e66011b -r 6b811c7b989d sys/arch/arm/include/arm32/vmparam.h
--- a/sys/arch/arm/include/arm32/vmparam.h      Wed Jul 08 06:58:33 2020 +0000
+++ b/sys/arch/arm/include/arm32/vmparam.h      Wed Jul 08 07:59:49 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.47 2020/01/13 20:36:44 christos Exp $    */
+/*     $NetBSD: vmparam.h,v 1.48 2020/07/08 07:59:49 skrll Exp $       */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -88,11 +88,7 @@
  * Mach derived constants
  */
 #define        VM_MIN_ADDRESS          ((vaddr_t) PAGE_SIZE)
-#ifdef ARM_MMU_EXTENDED
-#define        VM_MAXUSER_ADDRESS      ((vaddr_t) 0x80000000 - PAGE_SIZE)
-#else
 #define        VM_MAXUSER_ADDRESS      ((vaddr_t) KERNEL_BASE - PAGE_SIZE)
-#endif
 #define        VM_MAX_ADDRESS          VM_MAXUSER_ADDRESS
 
 #define        VM_MIN_KERNEL_ADDRESS   ((vaddr_t) KERNEL_BASE)



Home | Main Index | Thread Index | Old Index