All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Sachin Kamat <spk.linux@gmail.com>
Cc: "Daniel Lezcano" <daniel.lezcano@linaro.org>,
	"Linux PM list" <linux-pm@vger.kernel.org>,
	"Andreas Färber" <afaerber@suse.de>
Subject: Re: [PATCH 1/1] cpuidle: big_little: Fix build error
Date: Tue, 29 Jul 2014 00:00:19 +0200	[thread overview]
Message-ID: <1636644.mn4hD5sirK@vostro.rjw.lan> (raw)
In-Reply-To: <CAK5sBcFiEaK_zvifq24gQ9uPLOF_mtQo4n9R7_fBnk82gL8qQA@mail.gmail.com>

On Monday, July 28, 2014 11:51:09 AM Sachin Kamat wrote:
> Hi Daniel,
> 
> On Mon, Jul 28, 2014 at 11:48 AM, Daniel Lezcano
> <daniel.lezcano@linaro.org> wrote:
> > On 07/28/2014 06:58 AM, Sachin Kamat wrote:
> >>
> >> big_little CPU idle driver references functions defined in MCPM driver.
> >> Thus make it depend on MCPM to avoid the following errors:
> >>
> >> drivers/built-in.o: In function `bl_enter_powerdown':
> >> drivers/cpuidle/cpuidle-big_little.c:134: undefined reference to
> >> `mcpm_cpu_powered_up'
> >> drivers/built-in.o: In function `bl_powerdown_finisher':
> >> drivers/cpuidle/cpuidle-big_little.c:104: undefined reference to
> >> `mcpm_set_entry_vector'
> >> drivers/cpuidle/cpuidle-big_little.c:111: undefined reference to
> >> `mcpm_cpu_suspend'
> >> make: *** [vmlinux] Error 1
> >>
> >> Reported-by: Andreas Färber <afaerber@suse.de>
> >> Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
> >> ---
> >>   drivers/cpuidle/Kconfig.arm | 1 +
> >>   1 file changed, 1 insertion(+)
> >>
> >> diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
> >> index 33fc0ff..38cff69 100644
> >> --- a/drivers/cpuidle/Kconfig.arm
> >> +++ b/drivers/cpuidle/Kconfig.arm
> >> @@ -4,6 +4,7 @@
> >>   config ARM_BIG_LITTLE_CPUIDLE
> >>         bool "Support for ARM big.LITTLE processors"
> >>         depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS
> >> +       depends on MCPM
> >>         select ARM_CPU_SUSPEND
> >>         select CPU_IDLE_MULTIPLE_DRIVERS
> >>         help
> >
> >
> > Hi Sachin,
> >
> > thanks for the fix. Arnd sent the same fix a couple of weeks ago.
> 
> Oh great. Perhaps it hasn't hit the linux-next tree yet.

No, it hasn't and I can't find it in the linux-pm archives.

I'll queue up your patch, thanks!

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

      reply	other threads:[~2014-07-28 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  4:58 [PATCH 1/1] cpuidle: big_little: Fix build error Sachin Kamat
2014-07-28  6:18 ` Daniel Lezcano
2014-07-28  6:21   ` Sachin Kamat
2014-07-28 22:00     ` Rafael J. Wysocki [this message]

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=1636644.mn4hD5sirK@vostro.rjw.lan \
    --to=rjw@rjwysocki.net \
    --cc=afaerber@suse.de \
    --cc=daniel.lezcano@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=spk.linux@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.