Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap In the non-MP case, just initialize onproc to N...
details: https://anonhg.NetBSD.org/src/rev/2594438896d2
branches: trunk
changeset: 788820:2594438896d2
user: matt <matt%NetBSD.org@localhost>
date: Mon Jul 22 03:40:36 2013 +0000
description:
In the non-MP case, just initialize onproc to NULL.
diffstat:
sys/uvm/pmap/pmap.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 4f58d262ba06 -r 2594438896d2 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c Mon Jul 22 03:39:55 2013 +0000
+++ b/sys/uvm/pmap/pmap.c Mon Jul 22 03:40:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.2 2013/07/17 23:15:20 matt Exp $ */
+/* $NetBSD: pmap.c,v 1.3 2013/07/22 03:40:36 matt Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.2 2013/07/17 23:15:20 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.3 2013/07/22 03:40:36 matt Exp $");
/*
* Manages physical address maps.
@@ -308,6 +308,8 @@
kcpuset_t *onproc;
#ifdef MULTIPROCESSOR
kcpuset_create(&onproc, true);
+#else
+ onproc = NULL;
#endif
(void)VM_PAGEMD_PVLIST_LOCK(mdpg, false);
Home |
Main Index |
Thread Index |
Old Index