svn commit: r270261 - head/sys/sys

Davide Italiano davide at freebsd.org
Sun Sep 7 20:41:35 UTC 2014


On Sun, Sep 7, 2014 at 1:14 PM, Rui Paulo <rpaulo at me.com> wrote:
> On Aug 21, 2014, at 02:01, Davide Italiano <davide at freebsd.org> wrote:
>>
>> Author: davide
>> Date: Thu Aug 21 09:01:42 2014
>> New Revision: 270261
>> URL: http://svnweb.freebsd.org/changeset/base/270261
>>
>> Log:
>>  Revert r270227. GCC doesn't like the lack of LL suffix,
>>  so this makes powerpc build failing.
>>
>> Modified:
>>  head/sys/sys/time.h
>>
>> Modified: head/sys/sys/time.h
>> ==============================================================================
>> --- head/sys/sys/time.h       Thu Aug 21 08:25:46 2014        (r270260)
>> +++ head/sys/sys/time.h       Thu Aug 21 09:01:42 2014        (r270261)
>> @@ -129,7 +129,7 @@ bintime_shift(struct bintime *_bt, int _
>> #define       SBT_1MS (SBT_1S / 1000)
>> #define       SBT_1US (SBT_1S / 1000000)
>> #define       SBT_1NS (SBT_1S / 1000000000)
>> -#define      SBT_MAX 0x7fffffffffffffff
>> +#define      SBT_MAX 0x7fffffffffffffffLL
>
> I also think this is more correct.
>

It's actually redundant for all the architectures supported. Bruce
provided explanation about why as a reply on the original commit.

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the svn-src-all mailing list