[lkml]   [2009]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: next Feb 13 drivers/scsi/aha1542.ko build break
    (resending as plain text)

    On Fri, Feb 13, 2009 at 8:13 PM, Joe Eykholt <> wrote:
    > The kernel infrastructure should fix that without requiring the driver to change.
    > Drivers ought to be allowed to divide.
    > I've also seen this in another driver that divided a u64 by a constant.
    > I noticed that linux/math64.h provides div_u64(), but it seems awkward to call
    > that when the compiler generates a call to __udivdi3 (apparently).
    > Can't we just provide __udivdi3, since gcc generates that call?
    > Otherwise, problems like this will continue to crop up.

    A complete list of integer functions to which gcc generates calls can
    be found here:

    Some links to past discussions about this subject:


     \ /
      Last update: 2009-02-13 20:39    [W:0.022 / U:24.816 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site