svn commit: r300491 - head/sys/compat/linuxkpi/common/include/asm

Hans Petter Selasky hps at selasky.org
Mon May 23 16:21:02 UTC 2016


On 05/23/16 17:27, Ngie Cooper wrote:
>
>> On May 23, 2016, at 04:44, Hans Petter Selasky <hselasky at FreeBSD.org> 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



More information about the svn-src-head mailing list