Source-Changes-HG archive

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

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Make this build again in no...



details:   https://anonhg.NetBSD.org/src/rev/393511492825
branches:  sommerfeld_i386mp_1
changeset: 482344:393511492825
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jan 04 04:59:41 2001 +0000

description:
Make this build again in non-MULTIPROCESSOR kernels.

diffstat:

 sys/arch/i386/i386/pmap.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r ed7b4ad8efb8 -r 393511492825 sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Thu Jan 04 04:44:32 2001 +0000
+++ b/sys/arch/i386/i386/pmap.c Thu Jan 04 04:59:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.83.2.22 2001/01/04 04:44:33 thorpej Exp $   */
+/*     $NetBSD: pmap.c,v 1.83.2.23 2001/01/04 04:59:41 thorpej Exp $   */
 
 /*
  *
@@ -229,10 +229,11 @@
  * locking data structures
  */
 
+static simple_lock_data_t pvalloc_lock;
+static simple_lock_data_t pmaps_lock;
+
 #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)
-struct lock pmap_main_lock;
-simple_lock_data_t pvalloc_lock;
-simple_lock_data_t pmaps_lock;
+static struct lock pmap_main_lock;
 
 #define PMAP_MAP_TO_HEAD_LOCK() \
      spinlockmgr(&pmap_main_lock, LK_SHARED, (void *) 0)



Home | Main Index | Thread Index | Old Index