Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa Make pmap_check_alias static



details:   https://anonhg.NetBSD.org/src/rev/686f48f4fc39
branches:  trunk
changeset: 772492:686f48f4fc39
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 06 07:59:07 2012 +0000

description:
Make pmap_check_alias static

diffstat:

 sys/arch/hppa/hppa/pmap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 6165c745aa3e -r 686f48f4fc39 sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Thu Jan 05 22:18:36 2012 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Fri Jan 06 07:59:07 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.88 2011/12/30 07:41:58 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.89 2012/01/06 07:59:07 skrll Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.88 2011/12/30 07:41:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.89 2012/01/06 07:59:07 skrll Exp $");
 
 #include "opt_cputype.h"
 
@@ -227,7 +227,7 @@
 void pmap_dump_pv(paddr_t);
 #endif
 
-int pmap_check_alias(struct vm_page *, vaddr_t, pt_entry_t);
+static int pmap_check_alias(struct vm_page *, vaddr_t, pt_entry_t);
 
 #define        IS_IOPAGE_P(pa) ((pa) >= HPPA_IOBEGIN)
 
@@ -515,7 +515,7 @@
 }
 #endif
 
-int
+static int
 pmap_check_alias(struct vm_page *pg, vaddr_t va, pt_entry_t pte)
 {
        struct vm_page_md * const md = VM_PAGE_TO_MD(pg);



Home | Main Index | Thread Index | Old Index