[lkml]   [2007]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.22-rc2 built on ppc (2)

    On Sun, 20 May 2007, Andrew Morton wrote:

    > On Sun, 20 May 2007 13:08:15 +0200 Elimar Riesebieter <> wrote:
    > > FYI, building 2.6.22-rc2 with
    > > gcc (GCC) 4.1.3 20070514 (prerelease) (Debian 4.1.2-7)
    > > on my powerbook (PPC) gives:
    > >
    > > ...
    > > kernel/time/ntp.c: In function 'do_adjtimex':
    > > kernel/time/ntp.c:307: warning: comparison of distinct pointer types lacks a cast
    > > kernel/time/ntp.c:310: warning: comparison of distinct pointer types lacks a cast
    > hm, do_div() is defined as operating on a u64, but ntp is passing it an s64
    > and the asm-generic implementation of do_div() is warning about that.
    > Fixing that would be simple but a bit ugly.

    The correct fix would be to clean up that API and provide a signed
    do_div(), so ntp doesn't have to work around for the lack of it.
    It's on my todo list for ages, but I haven't gotten to it yet.

    bye, Roman
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-21 03:57    [W:0.019 / U:32.876 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site