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 Add a debugging printf, commented out...



details:   https://anonhg.NetBSD.org/src/rev/36d9cc1fab36
branches:  trunk
changeset: 499547:36d9cc1fab36
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Nov 22 07:44:01 2000 +0000

description:
Add a debugging printf, commented out by default.

diffstat:

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

diffs (23 lines):

diff -r 6c66ed27b371 -r 36d9cc1fab36 sys/arch/alpha/include/lock.h
--- a/sys/arch/alpha/include/lock.h     Wed Nov 22 06:59:08 2000 +0000
+++ b/sys/arch/alpha/include/lock.h     Wed Nov 22 07:44:01 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.12 2000/11/20 21:18:07 thorpej Exp $ */
+/* $NetBSD: lock.h,v 1.13 2000/11/22 07:44:01 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -144,8 +144,11 @@
 do {                                                                   \
        struct cpu_info *__ci = curcpu();                               \
                                                                        \
-       if (__ci->ci_ipis != 0)                                         \
-               alpha_ipi_process(__ci);                                \
+       if (__ci->ci_ipis != 0) {                                       \
+               /* printf("CPU %lu has IPIs pending\n",                 \
+                   __ci->ci_cpuid); */                                 \
+               alpha_ipi_process(__ci, NULL);                          \
+       }                                                               \
 } while (0)
 #endif /* MULTIPROCESSOR */
 



Home | Main Index | Thread Index | Old Index