Re: [PATCH] watchdog: dw_wdt: dont build for avr32

Andy Shevchenko <[email protected]> Tue, 12 Apr 2016 21:17:43 +0300
Newsgroups org.kernel.vger.kernel-testers,org.kernel.vger.linux-kernel,org.kernel.vger.linux-watchdog
Message-ID <CAHp75Vd28EChCHs0YTKrF_31OsEzJcgX8XFRwMmy9WGOeukTMg@mail.gmail.com>
On Tue, Apr 12, 2016 at 9:01 PM, Guenter Roeck <[email protected]> wrote:
> On Tue, Apr 12, 2016 at 05:58:20PM +0300, Andy Shevchenko wrote:
>> On Tue, Apr 12, 2016 at 4:39 PM, Sudip Mukherjee
>> <[email protected]> wrote:
>> > On Tuesday 12 April 2016 06:36 PM, Guenter Roeck wrote:
>> >>

> Sorry, I am missing something. do_div() should work fine with any 32 bit value
> as divisor, no matter what that value is. Why does it fail here ? And why does
> it work if I pass 0x1fffff as second parameter to do_div() directly ?

Perhaps compare assembly code in both cases?



-- 
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html