[PATCH] swsusp: clean assembly parts
authorPavel Machek <pavel@ucw.cz>
Sat, 25 Jun 2005 21:55:14 +0000 (14:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:33 +0000 (16:24 -0700)
commit8d783b3e02002bce8cf9d4e4a82922ee7e59b1e5
tree75c95b03d715caa1f5971b5c2182635618bdba0c
parentc61978b30322c83a94d7e4857fa5b9996b7d7931
[PATCH] swsusp: clean assembly parts

This patch fixes register saving so that each register is only saved once,
and adds missing saving of %cr8 on x86-64.  Some reordering so that
save/restore is more logical/safer (segment registers should be restored
after gdt).

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/power/cpu.c
arch/x86_64/kernel/suspend.c
include/asm-x86_64/suspend.h