From owner-p4-projects@FreeBSD.ORG Wed Dec 13 14:40:56 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 A27BD16A51F; Wed, 13 Dec 2006 14:40:56 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63BE016A52F for ; Wed, 13 Dec 2006 14:40:56 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C86743CB3 for ; Wed, 13 Dec 2006 14:39:26 +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 kBDEetes096718 for ; Wed, 13 Dec 2006 14:40:55 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBDEet3w096709 for perforce@freebsd.org; Wed, 13 Dec 2006 14:40:55 GMT (envelope-from piso@freebsd.org) Date: Wed, 13 Dec 2006 14:40:55 GMT Message-Id: <200612131440.kBDEet3w096709@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 111635 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: Wed, 13 Dec 2006 14:40:56 -0000 http://perforce.freebsd.org/chv.cgi?CH=111635 Change 111635 by piso@piso_newluxor on 2006/12/13 14:40:23 Axe the IS_FAST macro, it's just used in 3 places and probably i can simplify its usage there. Affected files ... .. //depot/projects/soc2006/intr_filter/sys/interrupt.h#9 edit Differences ... ==== //depot/projects/soc2006/intr_filter/sys/interrupt.h#9 (text+ko) ==== @@ -55,8 +55,6 @@ struct intr_thread *ih_thread; /* Ithread for filtered handler. */ }; -#define IS_FAST(filter, handler) (filter != NULL && handler == NULL) - /* Interrupt handle flags kept in ih_flags */ #define IH_EXCLUSIVE 0x00000002 /* Exclusive interrupt. */ #define IH_ENTROPY 0x00000004 /* Device is a good entropy source. */