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/de050a12a8cb
branches:  trunk
changeset: 970962:de050a12a8cb
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 8b6f55d18247 -r de050a12a8cb 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