Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include Ooops, do the last only if MULTIPROCE...



details:   https://anonhg.NetBSD.org/src/rev/a5c22f519242
branches:  trunk
changeset: 499470:a5c22f519242
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Nov 20 21:18:07 2000 +0000

description:
Ooops, do the last only if MULTIPROCESSOR.

diffstat:

 sys/arch/alpha/include/lock.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 1b2528c45f34 -r a5c22f519242 sys/arch/alpha/include/lock.h
--- a/sys/arch/alpha/include/lock.h     Mon Nov 20 20:40:17 2000 +0000
+++ b/sys/arch/alpha/include/lock.h     Mon Nov 20 21:18:07 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.11 2000/11/20 20:17:13 thorpej Exp $ */
+/* $NetBSD: lock.h,v 1.12 2000/11/20 21:18:07 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -130,6 +130,7 @@
                : "=m" (*alp));
 }
 
+#if defined(MULTIPROCESSOR)
 /*
  * On the Alpha, interprocessor interrupts come in at device priority
  * level.  This can cause some problems while waiting for r/w spinlocks
@@ -146,5 +147,6 @@
        if (__ci->ci_ipis != 0)                                         \
                alpha_ipi_process(__ci);                                \
 } while (0)
+#endif /* MULTIPROCESSOR */
 
 #endif /* _ALPHA_LOCK_H_ */



Home | Main Index | Thread Index | Old Index