Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/arch/xen/xen Pull up revision 1.14 (requested by yamt...



details:   https://anonhg.NetBSD.org/src/rev/bfb260bdc98d
branches:  netbsd-3
changeset: 575676:bfb260bdc98d
user:      tron <tron%NetBSD.org@localhost>
date:      Sun May 01 22:11:33 2005 +0000

description:
Pull up revision 1.14 (requested by yamt in ticket #238):
rename do_event to evtchan_do_event.
the former is too generic name and it actually hides a bug in xennetback.

diffstat:

 sys/arch/xen/xen/evtchn.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r c1151752938c -r bfb260bdc98d sys/arch/xen/xen/evtchn.c
--- a/sys/arch/xen/xen/evtchn.c Sun May 01 22:11:27 2005 +0000
+++ b/sys/arch/xen/xen/evtchn.c Sun May 01 22:11:33 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: evtchn.c,v 1.3.2.10 2005/04/28 10:45:59 tron Exp $     */
+/*     $NetBSD: evtchn.c,v 1.3.2.11 2005/05/01 22:11:33 tron Exp $     */
 
 /*
  *
@@ -34,7 +34,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.3.2.10 2005/04/28 10:45:59 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.3.2.11 2005/05/01 22:11:33 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -141,7 +141,7 @@
 }
 
 unsigned int
-do_event(int evtch, struct intrframe *regs)
+evtchn_do_event(int evtch, struct intrframe *regs)
 {
        struct cpu_info *ci;
        int ilevel;
@@ -153,13 +153,13 @@
 #ifdef DIAGNOSTIC
        if (evtch >= NR_EVENT_CHANNELS) {
                printf("event number %d > NR_IRQS\n", evtch);
-               panic("do_event");
+               panic("evtchn_do_event");
        }
 #endif
 
 #ifdef IRQ_DEBUG
        if (evtch == IRQ_DEBUG)
-               printf("do_event: evtch %d\n", evtch);
+               printf("evtchn_do_event: evtch %d\n", evtch);
 #endif
        ci = &cpu_info_primary;
 
@@ -176,7 +176,7 @@
 
 #ifdef DIAGNOSTIC
        if (evtsource[evtch] == NULL) {
-               panic("do_event: unknown event");
+               panic("evtchn_do_event: unknown event");
        }
 #endif
        uvmexp.intrs++;



Home | Main Index | Thread Index | Old Index