Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Make a #define MULTIPROCESSOR kernel co...



details:   https://anonhg.NetBSD.org/src/rev/6c71e5dfe4f8
branches:  trunk
changeset: 779360:6c71e5dfe4f8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed May 23 07:31:31 2012 +0000

description:
Make a #define MULTIPROCESSOR kernel compile

diffstat:

 sys/arch/hp700/hp700/intr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 6567025d80c0 -r 6c71e5dfe4f8 sys/arch/hp700/hp700/intr.c
--- a/sys/arch/hp700/hp700/intr.c       Wed May 23 07:06:02 2012 +0000
+++ b/sys/arch/hp700/hp700/intr.c       Wed May 23 07:31:31 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.38 2012/03/29 09:26:24 skrll Exp $  */
+/*     $NetBSD: intr.c,v 1.39 2012/05/23 07:31:31 skrll Exp $  */
 /*     $OpenBSD: intr.c,v 1.27 2009/12/31 12:52:35 jsing Exp $ */
 
 /*
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.38 2012/03/29 09:26:24 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.39 2012/05/23 07:31:31 skrll Exp $");
 
 #define __MUTEX_PRIVATE
 
@@ -375,6 +375,7 @@
        extern char mutex_enter_crit_start[];
        extern char mutex_enter_crit_end[];
 
+#ifndef        MULTIPROCESSOR
        extern char _lock_cas_ras_start[];
        extern char _lock_cas_ras_end[];
 
@@ -384,6 +385,7 @@
                frame->tf_iioq_head = (u_int)_lock_cas_ras_start;
                frame->tf_iioq_tail = (u_int)_lock_cas_ras_start + 4;
        }
+#endif
 
        /*
         * If we interrupted in the middle of mutex_enter(), we must patch up



Home | Main Index | Thread Index | Old Index