linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Oliver O'Halloran" <oohall@gmail.com>
To: abdul <abdhalee@linux.vnet.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	fweisbec@gmail.com
Subject: Re: [PowerPC] 4.10.0 fails to build on BE config
Date: Tue, 21 Feb 2017 22:09:26 +1100	[thread overview]
Message-ID: <CAOSf1CFTW-wmUNDTigcNxxGaDuGSdf8i=s7QgNUvuDS4WA6TGw@mail.gmail.com> (raw)
In-Reply-To: <c7b9f444-f7db-c098-0da9-72daeb844546@linux.vnet.ibm.com>

On Tue, Feb 21, 2017 at 6:25 PM, abdul <abdhalee@linux.vnet.ibm.com> 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

  parent reply	other threads:[~2017-02-21 11:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21  7:25 [PowerPC] 4.10.0 fails to build on BE config abdul
2017-02-21 10:24 ` Michael Ellerman
2017-02-21 11:09 ` Oliver O'Halloran [this message]
2017-02-21 12:58   ` Sachin Sant
2017-02-21 15:20 ` Frederic Weisbecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOSf1CFTW-wmUNDTigcNxxGaDuGSdf8i=s7QgNUvuDS4WA6TGw@mail.gmail.com' \
    --to=oohall@gmail.com \
    --cc=abdhalee@linux.vnet.ibm.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).