On 05/28/2014 01:48 PM, werner wrote: > Oi think im using 4.2.4 . but the kernel should be programmed clean, so that > it builds with all not-too-old versions. > > wl >
Hi Werner, Please reply to the mailing list also (as I am doing). I asked Thavatchai for a patch to fix this. > > > n Tue, 27 May 2014 15:51:26 -0700 > Randy Dunlap <rdun...@infradead.org> wrote: >> On 05/27/2014 03:22 PM, Thavatchai Makphaibulchoke wrote: >>> On 05/26/2014 11:04 PM, Randy Dunlap wrote: >>>> On 05/26/2014 11:17 AM, werner wrote: >>>> @tmac: can mbcache.c #include <linux/log2.h> and use ilog2(NR_BG_LOCKS) >>>> instead of using __builtin_log2(NR_BG_LOCKS) ? >>>> (ref. commit ID 1f3e55fe02d12213f87869768aa2b0bad3ba9a7d) >>>> >>> >>> I don't see any problem with that, unless somebody else has any concern. >>> Please let me know if you'd like me to submit the change. >> >> I'd say yes since some gcc version(s) don't seem to support __builtin_log2(). >> >> -- >> ~Randy >> >> > > "werner" <w.landg...@ru.ru> > --- > Professional hosting for everyone - http://www.host.ru -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/