From owner-p4-projects@FreeBSD.ORG Sat Jul 22 12:37:51 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 7604F16A4E9; Sat, 22 Jul 2006 12:37:51 +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 52A9316A4E0 for ; Sat, 22 Jul 2006 12:37:51 +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 1FCD643D45 for ; Sat, 22 Jul 2006 12:37:51 +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 k6MCboct033575 for ; Sat, 22 Jul 2006 12:37:51 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6MCbo45033572 for perforce@freebsd.org; Sat, 22 Jul 2006 12:37:50 GMT (envelope-from piso@freebsd.org) Date: Sat, 22 Jul 2006 12:37:50 GMT Message-Id: <200607221237.k6MCbo45033572@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 102142 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: Sat, 22 Jul 2006 12:37:51 -0000 http://perforce.freebsd.org/chv.cgi?CH=102142 Change 102142 by piso@piso_longino on 2006/07/22 12:37:38 Use IF_FAST instead of checking for INTR_FAST in flags. Affected files ... .. //depot/projects/soc2006/intr_filter/kern/subr_bus.c#5 edit Differences ... ==== //depot/projects/soc2006/intr_filter/kern/subr_bus.c#5 (text+ko) ==== @@ -3446,11 +3446,11 @@ error = BUS_SETUP_INTR(dev->parent, dev, r, flags, filter, handler, arg, cookiep); if (error == 0) { - if (!(flags & (INTR_MPSAFE | INTR_FAST))) + if (!IS_FAST(filter, handler) && !(flags & INTR_MPSAFE)) device_printf(dev, "[GIANT-LOCKED]\n"); if (bootverbose && (flags & INTR_MPSAFE)) device_printf(dev, "[MPSAFE]\n"); - if (flags & INTR_FAST) + if (IS_FAST(filter, handler)) device_printf(dev, "[FAST]\n"); } } else