Module Name:    src
Committed By:   skrll
Date:           Wed May 23 07:31:31 UTC 2012

Modified Files:
        src/sys/arch/hp700/hp700: intr.c

Log Message:
Make a #define MULTIPROCESSOR kernel compile


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/hp700/hp700/intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/hp700/intr.c
diff -u src/sys/arch/hp700/hp700/intr.c:1.38 src/sys/arch/hp700/hp700/intr.c:1.39
--- src/sys/arch/hp700/hp700/intr.c:1.38	Thu Mar 29 09:26:24 2012
+++ src/sys/arch/hp700/hp700/intr.c	Wed May 23 07:31:31 2012
@@ -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 @@ hppa_intr(struct trapframe *frame)
 	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 @@ hppa_intr(struct trapframe *frame)
 		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

Reply via email to