On Mon, May 17, 2010 at 04:22:37PM -0500, Kumar Gala wrote:
[...]
quoted
arch/powerpc/kernel/Makefile | 8 +-
arch/powerpc/kernel/swsusp_booke.S | 193 ++++++++++++++++++++++++++++++++++++
2 files changed, 199 insertions(+), 2 deletions(-)
create mode 100644 arch/powerpc/kernel/swsusp_booke.S
Is there board specific code to go along with this?
Nope.
When I enable I get:
arch/powerpc/kernel/built-in.o: In function `cpu_idle':
/home/galak/git/master/powerpc/arch/powerpc/kernel/idle.c:98: undefined reference to `cpu_die'
make: *** [.tmp_vmlinux1] Error 1
This isn't caused by hibernation or my patch specifically.
Instead, it's a long standing issue, enabling CONFIG_SMP and
CONFIG_SUSPEND is enough to trigger this. Patch exists:
http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg27982.html
No idea why it didn't make Linus' tree.
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2