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
nexedi
linux
Commits
c30db248
Commit
c30db248
authored
Oct 17, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Alchemy: Reformat PM code.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
f3e8d1da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
arch/mips/au1000/common/power.c
arch/mips/au1000/common/power.c
+4
-3
No files found.
arch/mips/au1000/common/power.c
View file @
c30db248
...
@@ -403,9 +403,9 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file,
...
@@ -403,9 +403,9 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file,
}
}
/*
We don't want _any_ interrupts other than
/*
*
match20. Otherwise our au1000_calibrate_delay()
*
We don't want _any_ interrupts other than match20. Otherwise our
* calculation will be off, potentially a lot.
*
au1000_calibrate_delay()
calculation will be off, potentially a lot.
*/
*/
intc0_mask
=
save_local_and_disable
(
0
);
intc0_mask
=
save_local_and_disable
(
0
);
intc1_mask
=
save_local_and_disable
(
1
);
intc1_mask
=
save_local_and_disable
(
1
);
...
@@ -414,6 +414,7 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file,
...
@@ -414,6 +414,7 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file,
au1000_calibrate_delay
();
au1000_calibrate_delay
();
restore_local_and_enable
(
0
,
intc0_mask
);
restore_local_and_enable
(
0
,
intc0_mask
);
restore_local_and_enable
(
1
,
intc1_mask
);
restore_local_and_enable
(
1
,
intc1_mask
);
return
retval
;
return
retval
;
}
}
...
...
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