]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Add code needed for basic suspend/resume of the XO-1 laptop. Based on
authorDaniel Drake <dsd@laptop.org>
Sat, 16 Jul 2011 13:30:51 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:04:55 +0000 (15:04 +1000)
commita75558f54cd5f85499ee7d4183dfb3b7d159346e
treeddacff7863021371c1287de74f416b286dcbd730
parent5ada36ce1906dfe8c557d92e0aa15bdd04ca83fe
Add code needed for basic suspend/resume of the XO-1 laptop.  Based on
earlier work by Jordan Crouse, Andres Salomon, and others.

This patch incorporates all earlier feedback from Thomas Gleixner.  To
clarify a certain point (now more obvious in the code itself): On resume,
OpenFirmware returns execution to Linux in protected mode with a
kernel-compatible GDT already set up.  The changes and simplifications
suggested have all been included.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/Kconfig
arch/x86/include/asm/olpc.h
arch/x86/platform/olpc/Makefile
arch/x86/platform/olpc/olpc-xo1-pm.c
arch/x86/platform/olpc/xo1-wakeup.S [new file with mode: 0644]
include/linux/cs5535.h