Date: Fri, 5 Jan 2007 17:55:42 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 112549 for review Message-ID: <200701051755.l05Htgoi088161@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112549 Change 112549 by piso@piso_newluxor on 2007/01/05 17:55:10 Arm interrupt handling doesn't have any particular case anymore: simplify the MD code dropping the switch at all. Affected files ... .. //depot/projects/soc2006/intr_filter/arm/arm/intr.c#14 edit Differences ... ==== //depot/projects/soc2006/intr_filter/arm/arm/intr.c#14 (text+ko) ==== @@ -135,25 +135,14 @@ arm_handler_execute(struct trapframe *frame, int irqnb __unused) { struct intr_event *event; - int i, res; + int i; PCPU_LAZY_INC(cnt.v_intr); while ((i = arm_get_next_irq()) != -1) { intrcnt[intrcnt_tab[i]]++; event = intr_events[i]; - res = handle_intr(event, frame, intr_eoi_src_stub, + handle_intr(event, frame, intr_eoi_src_stub, intr_disab_eoi_src, (void *)i); - switch (res) { - case 0: - break; - case ECHILD: - break; - case EINVAL: - break; - default: - printf("Ouch! Return code from mi_handle_intr()" - "not expected.\n"); - } } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701051755.l05Htgoi088161>