Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/mpc6xx Make pmap_pte_insert STATIC so it wi...



details:   https://anonhg.NetBSD.org/src/rev/729da344d35e
branches:  trunk
changeset: 514358:729da344d35e
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Aug 30 22:06:44 2001 +0000

description:
Make pmap_pte_insert STATIC so it will show up in DEBUG kernel with DDB
traces.

diffstat:

 sys/arch/powerpc/mpc6xx/pmap.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6983899c48b6 -r 729da344d35e sys/arch/powerpc/mpc6xx/pmap.c
--- a/sys/arch/powerpc/mpc6xx/pmap.c    Thu Aug 30 22:00:48 2001 +0000
+++ b/sys/arch/powerpc/mpc6xx/pmap.c    Thu Aug 30 22:06:44 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.22 2001/08/22 22:17:57 matt Exp $   */
+/*     $NetBSD: pmap.c,v 1.23 2001/08/30 22:06:44 matt Exp $   */
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -223,6 +223,7 @@
 #else
 #define        PMAP_PVO_CHECK(pvo)     do { } while (/*CONSTCOND*/0)
 #endif
+STATIC int pmap_pte_insert(int, pte_t *);
 STATIC int pmap_pvo_enter(pmap_t, struct pool *, struct pvo_head *,
        vaddr_t, paddr_t, u_int, int);
 STATIC void pmap_pvo_remove(struct pvo_entry *, int, int);
@@ -580,7 +581,7 @@
  *
  * Note: both the destination and source PTEs must not have PTE_VALID set.
  */
-static int
+STATIC int
 pmap_pte_insert(int ptegidx, pte_t *pvo_pt)
 {
        volatile pte_t *pt;



Home | Main Index | Thread Index | Old Index