]> git.hungrycats.org Git - linux/commit
[PATCH] swsusp: fix x86-64 - do not use memory in copy loop
authorPavel Machek <pavel@ucw.cz>
Sun, 17 Oct 2004 02:20:42 +0000 (19:20 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 17 Oct 2004 02:20:42 +0000 (19:20 -0700)
commit9ac1e4a8e9e11365344eccec2a8a06d14f32ceb7
tree7e4d3d3cb99e552bb5564e5e796c63ed1d34c4d2
parentc5cada670bf08d89870dd43ea25419f6ffb27c33
[PATCH] swsusp: fix x86-64 - do not use memory in copy loop

In assembly code, there are some problems with "nosave" section (linker was
doing something stupid, like duplicating the section).  We attempted to fix
it, but fix was worse then first problem.  This fixes is for good: We no
longer use any memory in the copy loop.  (Plus it fixes indentation and
uses meaningful labels.)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/suspend_asm.S