Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Adapt to constification in sys/uvm...
details: https://anonhg.NetBSD.org/src/rev/a4c1ce89a7af
branches: trunk
changeset: 777449:a4c1ce89a7af
user: martin <martin%NetBSD.org@localhost>
date: Sun Feb 19 09:19:41 2012 +0000
description:
Adapt to constification in sys/uvm/uvm_export.h
diffstat:
sys/rump/librump/rumpkern/vm.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r d5c8e7f1589b -r a4c1ce89a7af sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c Sun Feb 19 07:51:52 2012 +0000
+++ b/sys/rump/librump/rumpkern/vm.c Sun Feb 19 09:19:41 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm.c,v 1.122 2012/01/29 14:57:31 njoly Exp $ */
+/* $NetBSD: vm.c,v 1.123 2012/02/19 09:19:41 martin Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.122 2012/01/29 14:57:31 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.123 2012/02/19 09:19:41 martin Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -73,9 +73,9 @@
struct uvm uvm;
#ifdef __uvmexp_pagesize
-int *uvmexp_pagesize = &uvmexp.pagesize;
-int *uvmexp_pagemask = &uvmexp.pagemask;
-int *uvmexp_pageshift = &uvmexp.pageshift;
+const int * const uvmexp_pagesize = &uvmexp.pagesize;
+const int * const uvmexp_pagemask = &uvmexp.pagemask;
+const int * const uvmexp_pageshift = &uvmexp.pageshift;
#endif
struct vm_map rump_vmmap;
Home |
Main Index |
Thread Index |
Old Index