Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272566AbTHJICq (ORCPT ); Sun, 10 Aug 2003 04:02:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272568AbTHJICp (ORCPT ); Sun, 10 Aug 2003 04:02:45 -0400 Received: from willy.net1.nerim.net ([62.212.114.60]:3339 "EHLO www.home.local") by vger.kernel.org with ESMTP id S272566AbTHJICo (ORCPT ); Sun, 10 Aug 2003 04:02:44 -0400 Date: Sun, 10 Aug 2003 10:02:13 +0200 From: Willy Tarreau To: Willy Tarreau Cc: Albert Cahalan , linux-kernel mailing list , davem@redhat.com, jamie@shareable.org, chip@pobox.com Subject: Re: [PATCH] 2.4.22pre10: {,un}likely_p() macros for pointers Message-ID: <20030810080213.GD29616@alpha.home.local> References: <1060488233.780.65.camel@cube> <20030810072945.GA14038@alpha.home.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030810072945.GA14038@alpha.home.local> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 434 Lines: 12 On Sun, Aug 10, 2003 at 09:29:45AM +0200, Willy Tarreau wrote: > likely => __builtin_expect(!(x), 0) hmmm silly me, forget it, it will return the opposite. We should use !!(x),1. Willy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/