Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke Simplify #ifdefs



details:   https://anonhg.NetBSD.org/src/rev/37d44a8c94f9
branches:  trunk
changeset: 1008997:37d44a8c94f9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Apr 08 10:57:16 2020 +0000

description:
Simplify #ifdefs

diffstat:

 sys/arch/powerpc/include/booke/pmap.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 92ab1114bb66 -r 37d44a8c94f9 sys/arch/powerpc/include/booke/pmap.h
--- a/sys/arch/powerpc/include/booke/pmap.h     Wed Apr 08 07:56:34 2020 +0000
+++ b/sys/arch/powerpc/include/booke/pmap.h     Wed Apr 08 10:57:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.20 2020/03/12 23:09:59 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.21 2020/04/08 10:57:16 skrll Exp $  */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -140,9 +140,7 @@
 pmap_md_vca_clean(struct vm_page *pg, vaddr_t va, int op)
 {
 }
-#endif
 
-#ifdef __PMAP_PRIVATE
 static __inline size_t
 pmap_md_tlb_asid_max(void)
 {



Home | Main Index | Thread Index | Old Index