Thread (33 messages) 33 messages, 7 authors, 2021-05-12

Re: [PATCH 11/12] tools: sync lib/find_bit implementation

From: Andy Shevchenko <hidden>
Date: 2021-05-11 12:17:26
Also in: linux-m68k, linux-sh, lkml

On Tue, May 11, 2021 at 1:36 PM Rikard Falkeborn
[off-list ref] wrote:
On Tue, May 11, 2021 at 10:28:50AM +0300, Andy Shevchenko wrote:
quoted
On Tue, May 11, 2021 at 12:51:58AM +0200, Rikard Falkeborn wrote:
quoted
On Mon, May 10, 2021 at 06:44:44PM +0300, Andy Shevchenko wrote:
...
quoted
Does the following work for you? For simplicity, I copied__is_constexpr from
include/linux/minmax.h (which isn't available in tools/). A proper patch
would reuse __is_constexpr (possibly refactoring it to a separate
header since bits.h including minmax.h for that only seems smelly)
I think we need to have it in something like compiler.h (top level). Under
'top level' I meant something with the function as of compiler.h but with
Linuxisms rather than compiler attributes or so.
Right. Will you send a patch, or do you want me to?
Please, go ahead!
I'm in a vacation mood (tomorrow it will start)
It would be good to get confirmation that __is_constexpr solves the
build failure.
-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help