Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include Reduce #ifdefs



details:   https://anonhg.NetBSD.org/src/rev/79a94108c3ab
branches:  trunk
changeset: 378202:79a94108c3ab
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jul 26 06:47:38 2023 +0000

description:
Reduce #ifdefs

diffstat:

 sys/arch/aarch64/include/pmap_machdep.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 142cfcaf4fc9 -r 79a94108c3ab sys/arch/aarch64/include/pmap_machdep.h
--- a/sys/arch/aarch64/include/pmap_machdep.h   Wed Jul 26 06:45:41 2023 +0000
+++ b/sys/arch/aarch64/include/pmap_machdep.h   Wed Jul 26 06:47:38 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_machdep.h,v 1.5 2023/07/26 06:45:41 skrll Exp $   */
+/*     $NetBSD: pmap_machdep.h,v 1.6 2023/07/26 06:47:38 skrll Exp $   */
 
 /*-
  * Copyright (c) 2022 The NetBSD Foundation, Inc.
@@ -204,9 +204,7 @@ pmap_md_nptep(pt_entry_t *ptep)
        return ptep + 1;
 }
 
-#endif /* __PMAP_PRIVATE */
 
-#ifdef __PMAP_PRIVATE
 static __inline paddr_t
 pte_to_paddr(pt_entry_t pte)
 {



Home | Main Index | Thread Index | Old Index