From: Daniel Drake Date: Sat, 25 Jun 2011 16:34:11 +0000 (+0100) Subject: x86, olpc: Add XO-1 suspend/resume support X-Git-Tag: v3.1-rc1~225^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97c4cb71c18fe045a763ff6681a8ebbbbbec0b2b;p=pandora-kernel.git x86, olpc: Add XO-1 suspend/resume support 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 Link: http://lkml.kernel.org/r/1309019658-1712-5-git-send-email-dsd@laptop.org Acked-by: Andres Salomon Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed