Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ba95d79a
Commit
ba95d79a
authored
Dec 05, 2002
by
Pavel Machek
Committed by
Linus Torvalds
Dec 05, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] swsusp: move variables where they belong
swsusp: Move loop variables into assembly, where they are used.
parent
1b6908e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
arch/i386/kernel/suspend.c
arch/i386/kernel/suspend.c
+0
-7
arch/i386/kernel/suspend_asm.S
arch/i386/kernel/suspend_asm.S
+11
-0
No files found.
arch/i386/kernel/suspend.c
View file @
ba95d79a
...
@@ -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
arch/i386/kernel/suspend_asm.S
View file @
ba95d79a
.
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment