Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934303Ab0BZLIh (ORCPT ); Fri, 26 Feb 2010 06:08:37 -0500 Received: from mail-fx0-f219.google.com ([209.85.220.219]:46448 "EHLO mail-fx0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933799Ab0BZLIg (ORCPT ); Fri, 26 Feb 2010 06:08:36 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ECesNUrzLjrRnKhmKkyioiYyKC5zAXRv2PR80UAJ5ccmtzkiR7hoypJENLLVLbCbcF +SqLNmN72ytUGNaohNLAA6LU8Mhw+13YkHuIdK9BRVFcUAZY+B/cIyKOraq0E/uk5imI jjC8QeWaW2S/8tuSxLwm+xuy37SOr+YDZeics= MIME-Version: 1.0 In-Reply-To: <20100226101423.GA25641@elte.hu> References: <1266600404-16402-1-git-send-email-luca@luca-barbieri.com> <4B845AEE.5080604@zytor.com> <20100226101423.GA25641@elte.hu> Date: Fri, 26 Feb 2010 12:08:34 +0100 X-Google-Sender-Auth: 19d66da4a4e2656a Message-ID: Subject: Re: [PATCH 0/5] x86-32: improve atomic64_t functions (v2) From: Luca Barbieri To: Ingo Molnar Cc: "H. Peter Anvin" , a.p.zijlstra@chello.nl, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 23 > FYI, it triggered build failures in -tip testing: > > lib/atomic64_test.c: In function 'test_atomic64': > lib/atomic64_test.c:116: error: implicit declaration of function 'atomic64_dec_if_positive' This was on x86-64 right? That function is implemented in the generic atomic64 implementation and my x86-32 version, but not in the x86-64 implementation. There is a similar problem with the 32-bt atomic_dec_if_positive, that is implemented by ppc, mips, microblaze and avr32 but not in x86-32 and asm-generic. Currently the 64-bit version seems unused, while the 32-bit one seems to be only used by ppc-only drivers (IBM pSeries virtual SCSI and PlayStation3 drivers). I'll send a couple of patches to fix this shortly. -- 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/