Commit ba95d79a authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds

[PATCH] swsusp: move variables where they belong

swsusp: Move loop variables into assembly, where they are used.
parent 1b6908e6
...@@ -125,10 +125,3 @@ void fix_processor_context(void) ...@@ -125,10 +125,3 @@ void fix_processor_context(void)
} }
} }
#ifdef CONFIG_SOFTWARE_SUSPEND
/* Local variables for do_magic */
int loop __nosavedata = 0;
int loop2 __nosavedata = 0;
#endif
.text .text
/* Originally gcc generated, modified by hand */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/page.h> #include <asm/page.h>
...@@ -78,3 +81,11 @@ ENTRY(do_magic): ...@@ -78,3 +81,11 @@ ENTRY(do_magic):
.L1449: .L1449:
popl %ebx popl %ebx
ret ret
.section .data.nosave
loop:
.quad 0
loop2:
.quad 0
.previous
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment