lkml.org 
[lkml]   [2014]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 29/29] nios2: Build infrastructure
From
On Thu, Oct 30, 2014 at 7:33 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Thursday 30 October 2014 18:44:37 Ley Foon Tan wrote:
>> >
>> > I don't remember what all of these are, but at least some of them seem
>> > to be concerned with 64-bit division. By convention, we don't provide those
>> > in the Linux kernel but instead require all code to use the do_div()
>> > macro instead.
>> Do you mean kernel doesn't support 64 bit division result for a 32-bit
>> architecture? Because do_div() only support 32-bit division result for
>> 32-bit architecture.
>
> Correct. If you need a full 64-bit division on a 32-bit kernel, the
> assumption is that your driver has a bug.
>
Okay, will remove 64 bit division.

Regards
Ley Foon


\
 
 \ /
  Last update: 2014-10-31 03:01    [W:0.119 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site