From owner-p4-projects@FreeBSD.ORG Mon Jul 17 19:46:16 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 6AF9416A508; Mon, 17 Jul 2006 19:46:16 +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 4713016A503 for ; Mon, 17 Jul 2006 19:46:16 +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 0A80243D4C for ; Mon, 17 Jul 2006 19:46:16 +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 k6HJkFkK031829 for ; Mon, 17 Jul 2006 19:46:15 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6HJkFLs031826 for perforce@freebsd.org; Mon, 17 Jul 2006 19:46:15 GMT (envelope-from piso@freebsd.org) Date: Mon, 17 Jul 2006 19:46:15 GMT Message-Id: <200607171946.k6HJkFLs031826@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 101794 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, 17 Jul 2006 19:46:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=101794 Change 101794 by piso@piso_newluxor on 2006/07/17 19:45:55 Obviously if we return different ORed values, we use & instead of == to check the return value. Affected files ... .. //depot/projects/soc2006/intr_filter/kern/kern_intr.c#8 edit Differences ... ==== //depot/projects/soc2006/intr_filter/kern/kern_intr.c#8 (text+ko) ==== @@ -798,14 +798,14 @@ } /* Mark handler for later execution in ithread. */ - if (ret2 == FILTER_SCHEDULE_THREAD) { + if (ret2 & FILTER_SCHEDULE_THREAD) { ih->ih_need = 1; ret |= FILTER_SCHEDULE_THREAD; continue; } /* Interrupt served in filter. */ - if (ret2 == FILTER_HANDLED) { + if (ret2 & FILTER_HANDLED) { ret |= FILTER_HANDLED; return (ret); }