Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 19 Jun 2002 05:16:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 19 Jun 2002 05:16:14 -0400 Received: from gateway2.ensim.com ([65.164.64.250]:44804 "EHLO nasdaq.ms.ensim.com") by vger.kernel.org with ESMTP id ; Wed, 19 Jun 2002 05:16:13 -0400 X-mailer: xrn 8.03-beta-26 From: Paul Menage Subject: Re: [PATCH]: (off 2.5.22) replacing __builtin_expect with unlikely in Alpha headers To: Manik Raina Cc: linux-kernel@vger.kernel.org X-Newsgroups: In-reply-to: <0C01A29FBAE24448A792F5C68F5EA47D29E3F6@nasdaq.ms.ensim.com> Message-Id: Date: Wed, 19 Jun 2002 02:15:52 -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 593 Lines: 20 In article <0C01A29FBAE24448A792F5C68F5EA47D29E3F6@nasdaq.ms.ensim.com>, you write: > :"=&r" (count), "=m" (sem->count), "=&r" (temp) > :"Ir" (RWSEM_ACTIVE_WRITE_BIAS), "m" (sem->count) : "memory"); > #endif >- if (__builtin_expect(count, 0)) >+ if (unlikely(count, 0)) ^^^^ This should be if (unlikely(count)) Paul - 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/