[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFiDJ58AmQuXnziuxtK6b9Ywm8NqDRwTNt3h+V6sXqSjpqD8XQ@mail.gmail.com>
Date: Fri, 31 Oct 2014 09:28:29 +0800
From: Ley Foon Tan <lftan@...era.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Linux-Arch <linux-arch@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Chung-Lin Tang <cltang@...esourcery.com>
Subject: Re: [PATCH v5 29/29] nios2: Build infrastructure
On Thu, Oct 30, 2014 at 7:33 PM, Arnd Bergmann <arnd@...db.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists