Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Reduce #ifdefs



details:   https://anonhg.NetBSD.org/src/rev/dc49ccf3303c
branches:  trunk
changeset: 746179:dc49ccf3303c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Mar 23 16:38:29 2020 +0000

description:
Reduce #ifdefs

diffstat:

 sys/arch/arm/arm32/pmap.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 0837778b3dd4 -r dc49ccf3303c sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Mon Mar 23 16:14:20 2020 +0000
+++ b/sys/arch/arm/arm32/pmap.c Mon Mar 23 16:38:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.399 2020/03/14 14:05:42 ad Exp $    */
+/*     $NetBSD: pmap.c,v 1.400 2020/03/23 16:38:29 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -198,7 +198,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.399 2020/03/14 14:05:42 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.400 2020/03/23 16:38:29 skrll Exp $");
 
 #include <sys/atomic.h>
 #include <sys/param.h>
@@ -3398,9 +3398,7 @@
                                }
                        }
                }
-#endif /* !ARM_MMU_EXTENDED */
-
-#ifndef ARM_MMU_EXTENDED
+
                UVMHIST_LOG(maphist, "  is_cached %jd cs 0x%08jx",
                    is_cached, pm->pm_cstate.cs_all, 0, 0);
 



Home | Main Index | Thread Index | Old Index