On Tue, Feb 21, 2017 at 6:25 PM, abdul [off-list ref] wrote:
Hi,
Today's mainline build, breaks on Power6 and Power7 (all BE config) with
these build errors
arch/powerpc/kernel/time.c: In function =E2=80=98running_clock=E2=80=99:
arch/powerpc/kernel/time.c:712:2: error: implicit declaration of function
=E2=80=98cputime_to_nsecs=E2=80=99 [-Werror=3Dimplicit-function-declarati=
on]
return local_clock() -
cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIME_STEAL]);
^
cc1: some warnings being treated as errors
make[1]: *** [arch/powerpc/kernel/time.o] Error 1
Regard's
Abdul Haleem
IBM Linux Technology Center.
Hi Abdul,
Are there any extra patches in your tree? I briefly tried to reproduce
this, but in my local tree this line:
return local_clock() - cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIM=
E_STEAL]);
Is at time.c:692 rather than time.c:712
Oliver