[PATCH] swsusp: Support i386 systems with PAE or without PSE
commit2d4a34c9365c6e3f94a5b26ce296e1fce9b66c8b
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 7 Dec 2006 04:34:29 +0000 (6 20:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:28 +0000 (7 08:39 -0800)
treead8303f7db40d963f7a7b120996d4fe658a43cce
parentff39593ad0ff7a79a3717edac6634407aa8200c2
[PATCH] swsusp: Support i386 systems with PAE or without PSE

Make swsusp support i386 systems with PAE or without PSE.

This is done by creating temporary page tables located in resume-safe page
frames before the suspend image is restored in the same way as x86_64 does
it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Andi Kleen <ak@suse.de>
Cc: Dave Jones <davej@redhat.com>
Cc: Nigel Cunningham <ncunningham@linuxmail.org>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/power/Makefile
arch/i386/power/suspend.c [new file with mode: 0644]
arch/i386/power/swsusp.S
include/asm-i386/suspend.h
kernel/power/Kconfig