Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm adapt to const changes.



details:   https://anonhg.NetBSD.org/src/rev/50b85e31ea7b
branches:  trunk
changeset: 581735:50b85e31ea7b
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Jun 04 13:48:35 2005 +0000

description:
adapt to const changes.

diffstat:

 sys/uvm/uvm_page.c |  6 +++---
 sys/uvm/uvm_page.h |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r b9992e9b5c69 -r 50b85e31ea7b sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c        Sat Jun 04 13:39:20 2005 +0000
+++ b/sys/uvm/uvm_page.c        Sat Jun 04 13:48:35 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.c,v 1.103 2005/05/11 13:02:26 yamt Exp $      */
+/*     $NetBSD: uvm_page.c,v 1.104 2005/06/04 13:48:35 chs Exp $       */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.103 2005/05/11 13:02:26 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.104 2005/06/04 13:48:35 chs Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -1503,7 +1503,7 @@
 void
 uvm_page_own(pg, tag)
        struct vm_page *pg;
-       char *tag;
+       const char *tag;
 {
        KASSERT((pg->flags & (PG_PAGEOUT|PG_RELEASED)) == 0);
 
diff -r b9992e9b5c69 -r 50b85e31ea7b sys/uvm/uvm_page.h
--- a/sys/uvm/uvm_page.h        Sat Jun 04 13:39:20 2005 +0000
+++ b/sys/uvm/uvm_page.h        Sat Jun 04 13:48:35 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.h,v 1.39 2004/10/07 10:56:26 yamt Exp $       */
+/*     $NetBSD: uvm_page.h,v 1.40 2005/06/04 13:48:35 chs Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -141,7 +141,7 @@
 #if defined(UVM_PAGE_TRKOWN)
        /* debugging fields to track page ownership */
        pid_t                   owner;          /* proc that set PG_BUSY */
-       char                    *owner_tag;     /* why it was set busy */
+       const char              *owner_tag;     /* why it was set busy */
 #endif
 };
 
@@ -245,7 +245,7 @@
 
 void uvm_page_init(vaddr_t *, vaddr_t *);
 #if defined(UVM_PAGE_TRKOWN)
-void uvm_page_own(struct vm_page *, char *);
+void uvm_page_own(struct vm_page *, const char *);
 #endif
 #if !defined(PMAP_STEAL_MEMORY)
 boolean_t uvm_page_physget(paddr_t *);



Home | Main Index | Thread Index | Old Index