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 Fix build on !MULTIPROCESSOR



details:   https://anonhg.NetBSD.org/src/rev/eda342b8205b
branches:  sommerfeld_i386mp_1
changeset: 482362:eda342b8205b
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Tue Jan 09 03:19:49 2001 +0000

description:
Fix build on !MULTIPROCESSOR

diffstat:

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

diffs (19 lines):

diff -r 66628e3dc485 -r eda342b8205b sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Tue Jan 09 02:37:34 2001 +0000
+++ b/sys/arch/i386/i386/pmap.c Tue Jan 09 03:19:49 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.83.2.27 2001/01/08 13:57:24 sommerfeld Exp $        */
+/*     $NetBSD: pmap.c,v 1.83.2.28 2001/01/09 03:19:49 sommerfeld Exp $        */
 
 /*
  *
@@ -1018,7 +1018,9 @@
         * init the static-global locks and global lists.
         */
 
+#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)
        spinlockinit(&pmap_main_lock, "pmaplk", 0);
+#endif
        simple_lock_init(&pvalloc_lock);
        simple_lock_init(&pmaps_lock);
        LIST_INIT(&pmaps);



Home | Main Index | Thread Index | Old Index