Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/pic Make it compile when PIC_DEBUG is defined.



details:   https://anonhg.NetBSD.org/src/rev/2b14d4097711
branches:  trunk
changeset: 766401:2b14d4097711
user:      rjs <rjs%NetBSD.org@localhost>
date:      Tue Jun 21 18:02:43 2011 +0000

description:
Make it compile when PIC_DEBUG is defined.

diffstat:

 sys/arch/powerpc/pic/intr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f2a02fc317a5 -r 2b14d4097711 sys/arch/powerpc/pic/intr.c
--- a/sys/arch/powerpc/pic/intr.c       Tue Jun 21 17:28:11 2011 +0000
+++ b/sys/arch/powerpc/pic/intr.c       Tue Jun 21 18:02:43 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.16 2011/06/20 06:23:52 matt Exp $ */
+/*     $NetBSD: intr.c,v 1.17 2011/06/21 18:02:43 rjs Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.16 2011/06/20 06:23:52 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.17 2011/06/21 18:02:43 rjs Exp $");
 
 #include "opt_interrupt.h"
 #include "opt_multiprocessor.h"
@@ -319,7 +319,7 @@
        is->is_pic = pic;
        virq_map[hwirq] = virq;
 #ifdef PIC_DEBUG
-       printf("mapping hwirq %d to virq %d\n", irq, virq);
+       printf("mapping hwirq %d to virq %d\n", hwirq, virq);
 #endif
        return virq;
 }



Home | Main Index | Thread Index | Old Index