From owner-svn-src-head@freebsd.org Mon May 23 16:21:02 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C19E2B46183; Mon, 23 May 2016 16:21:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A578136C; Mon, 23 May 2016 16:21:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 3B2911FE024; Mon, 23 May 2016 18:20:54 +0200 (CEST) Subject: Re: svn commit: r300491 - head/sys/compat/linuxkpi/common/include/asm To: Ngie Cooper References: <201605231144.u4NBikhD004954@repo.freebsd.org> <0B789C60-3EF9-4553-BD19-3245B451FB0A@gmail.com> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Hans Petter Selasky Message-ID: <9d6fc2d2-e748-4b94-b77d-4cd56e7bd9bf@selasky.org> Date: Mon, 23 May 2016 18:24:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <0B789C60-3EF9-4553-BD19-3245B451FB0A@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2016 16:21:02 -0000 On 05/23/16 17:27, Ngie Cooper wrote: > >> On May 23, 2016, at 04:44, Hans Petter Selasky wrote: >> >> Author: hselasky >> Date: Mon May 23 11:44:46 2016 >> New Revision: 300491 >> URL: https://svnweb.freebsd.org/changeset/base/300491 >> >> Modified: head/sys/compat/linuxkpi/common/include/asm/atomic-long.h >> ============================================================================== >> --- head/sys/compat/linuxkpi/common/include/asm/atomic-long.h Mon May 23 11:41:35 2016 (r300490) >> +++ head/sys/compat/linuxkpi/common/include/asm/atomic-long.h Mon May 23 11:44:46 2016 (r300491) >> @@ -41,6 +41,7 @@ typedef struct { >> >> #define atomic_long_add(i, v) atomic_long_add_return((i), (v)) >> #define atomic_long_inc_return(v) atomic_long_add_return(1, (v)) >> +#define atomic_long_inc_not_zero(v) atomic_long_inc_not_zero(v) > > The same function name is used twice..? This seems a bit odd... > Yes, it is odd. Fixed by r300517. Thank you! --HPS