Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2014 13:41:32 -0700
From:      Davide Italiano <davide@freebsd.org>
To:        Rui Paulo <rpaulo@me.com>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r270261 - head/sys/sys
Message-ID:  <CACYV=-HgvCjE02in_WjV5ZBDZNDYQAVdNyR6gv9wm8L020Mtjw@mail.gmail.com>
In-Reply-To: <0DD8929C-983D-49FD-A904-7A4FF9A3D2CB@me.com>
References:  <201408210901.s7L91gZ7049822@svn.freebsd.org> <0DD8929C-983D-49FD-A904-7A4FF9A3D2CB@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 7, 2014 at 1:14 PM, Rui Paulo <rpaulo@me.com> wrote:
> On Aug 21, 2014, at 02:01, Davide Italiano <davide@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACYV=-HgvCjE02in_WjV5ZBDZNDYQAVdNyR6gv9wm8L020Mtjw>