From owner-p4-projects@FreeBSD.ORG Mon Jun 19 15:17:01 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8355A16A517; Mon, 19 Jun 2006 15:17:01 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D75C16A4AB for ; Mon, 19 Jun 2006 15:17:01 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B6F43E02 for ; Mon, 19 Jun 2006 15:16:50 +0000 (GMT) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5JFGm4N076365 for ; Mon, 19 Jun 2006 15:16:48 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5JFGmmt076362 for perforce@freebsd.org; Mon, 19 Jun 2006 15:16:48 GMT (envelope-from piso@freebsd.org) Date: Mon, 19 Jun 2006 15:16:48 GMT Message-Id: <200606191516.k5JFGmmt076362@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 99608 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 15:17:02 -0000 http://perforce.freebsd.org/chv.cgi?CH=99608 Change 99608 by piso@piso_newluxor on 2006/06/19 15:15:53 Convert ia64 to use MI interrupt filter code, and while here mark frame parameter as unused: even if intr_filter_loop() accepts an optional trapframe parameter, it's not used in ia64 so try to avoid any future problems marking it as unused. Affected files ... .. //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#2 edit Differences ... ==== //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#2 (text+ko) ==== @@ -347,11 +347,10 @@ } void -ia64_dispatch_intr(void *frame, unsigned long vector) +ia64_dispatch_intr(void *frame __unused, unsigned long vector) { struct ia64_intr *i; struct intr_event *ie; /* our interrupt event */ - struct intr_handler *ih; int error, thread; /* @@ -380,15 +379,7 @@ */ thread = 0; critical_enter(); - TAILQ_FOREACH(ih, &ie->ie_handlers, ih_next) { - if (!(ih->ih_flags & IH_FAST)) { - thread = 1; - continue; - } - CTR4(KTR_INTR, "%s: exec %p(%p) for %s", __func__, - ih->ih_handler, ih->ih_argument, ih->ih_name); - ih->ih_handler(ih->ih_argument); - } + thread = intr_filter_loop(ie, NULL); critical_exit(); if (thread) {