[PATCH 00/24 V2] OMAP4: PM: suspend, CPU-hotplug and CPUilde support
khilman at ti.com
Fri Oct 7 18:50:32 EDT 2011
Kevin Hilman <khilman at ti.com> writes:
> Hi Santosh,
> Santosh Shilimkar <santosh.shilimkar at ti.com> writes:
>> The series adds OMAP4 MPUSS (MPU SubSystem) power management support for
>> suspend (S2R), CPU hotplug and CPUidle.
> Just noticed when doing some final build/sanity testing that there are a
> few of compile/link warnings/problems when the kernel is built without
> Some warnings:
> /work/kernel/omap/pm/arch/arm/mach-omap2/omap-wakeupgen.c:203:13: warning: 'irq_save_context' defined but not used
> /work/kernel/omap/pm/arch/arm/mach-omap2/omap-wakeupgen.c:270:13: warning: 'irq_save_secure_context' defined but not used
> and some failures (these happen when CONFIG_SUSPEND=n but CONFIG_PM_RUNTIME=y:
> arch/arm/mach-omap2/built-in.o: In function `skip_l2en':
> /work/kernel/omap/pm/arch/arm/mach-omap2/sleep44xx.S:323: undefined reference to `cpu_resume'
> arch/arm/mach-omap2/built-in.o: In function `omap_sram_idle':
> /work/kernel/omap/pm/arch/arm/mach-omap2/pm34xx.c:429: undefined reference to `cpu_suspend'
> arch/arm/mach-omap2/built-in.o: In function `skipl2reen':
> /work/kernel/omap/pm/arch/arm/mach-omap2/sleep34xx.S:534: undefined reference to `cpu_resume'
> arch/arm/mach-omap2/built-in.o: In function `omap4_enter_lowpower':
> /work/kernel/omap/pm/arch/arm/mach-omap2/omap-mpuss-lowpower.c:281: undefined reference to `cpu_suspend'
> Turns out these are not directly related to your series and OMAP3
> exhibits the same problems.
> I just posted a patch to attempt to address these.
> But could you fixup the first problem and test with  to see if things
> still build/work as expected.
OK, ignore my patch.
Arnd already has a fix for these link problems in his randconfig/arm
Please just cleanup the wakeupgen compile warnings and update your
More information about the linux-arm-kernel