On Thu, Oct 29, 2020 at 03:08:09PM +1100, Stephen Rothwell wrote: > After merging the akpm-current tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > lib/math/div64.c: In function 'mul_u64_u64_div_u64': > lib/math/div64.c:202:6: error: implicit declaration of function 'ilog2' [-Werror=implicit-function-declaration] > 202 | if (ilog2(a) + ilog2(b) > 62) { > | ^~~~~ > > Caused by commit > > 4ec993a18ff6 ("kernel.h: Split out mathematical helpers") > > I have applied the following patch for today: Right, thanks! It seems x86 has this inclusion somewhere else and my patch reveals this on PPC which has cleaner inclusion chain. Andrew, can you attach this fix to your tree? -- With Best Regards, Andy Shevchenko