[PATCH 2/2] arm/pxa: Let zeus.c link without CONFIG_PM enabled.
Stefan Schmidt
stefan at datenfreihafen.org
Wed Feb 17 02:23:32 EST 2010
Hello.
On Tue, 2010-02-16 at 22:12, Marc Zyngier wrote:
> On Tue, 16 Feb 2010 22:42:55 +0100
> Stefan Schmidt <stefan at datenfreihafen.org> wrote:
>
> > Add some safety check for CONFIG_PM around zeus_power_off(). Without it linking
> > can fail like this:
> >
> > arch/arm/mach-pxa/built-in.o: In function `zeus_power_off':
> > e800.c:(.text+0x2bc8): undefined reference to `pxa27x_cpu_suspend'
> >
> > Signed-off-by: Stefan Schmidt <stefan at datenfreihafen.org>
> >
> > --
> >
> > This smells a bit fishy as zeus_power_off() is only mapped to pm_power_off and
> > that one seems to come and go to nowhere. Is this any magic I don't get on a
> > first glance?
>
> The magic takes place in arch/arm/kernel/process.c.
Ah, thanks a lot. Something learned today. :)
regards
Stefan Schmidt
More information about the linux-arm-kernel
mailing list