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
29221b81
Commit
29221b81
authored
Jul 16, 2004
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[swsusp] Remove unneeded suspend_pagedir_lock.
parent
0eabc61b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
kernel/power/swsusp.c
kernel/power/swsusp.c
+0
-6
No files found.
kernel/power/swsusp.c
View file @
29221b81
...
...
@@ -81,9 +81,6 @@ extern char __nosave_begin, __nosave_end;
extern
int
is_head_of_free_region
(
struct
page
*
);
/* Locks */
spinlock_t
suspend_pagedir_lock
__nosavedata
=
SPIN_LOCK_UNLOCKED
;
/* Variables to be preserved over suspend */
int
pagedir_order_check
;
int
nr_copy_pages_check
;
...
...
@@ -908,10 +905,7 @@ static void suspend_power_down(void)
static
void
suspend_finish
(
void
)
{
spin_lock_irq
(
&
suspend_pagedir_lock
);
/* Done to disable interrupts */
free_pages
((
unsigned
long
)
pagedir_nosave
,
pagedir_order
);
spin_unlock_irq
(
&
suspend_pagedir_lock
);
#ifdef CONFIG_HIGHMEM
printk
(
"Restoring highmem
\n
"
);
...
...
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