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
00baf857
Commit
00baf857
authored
May 21, 2013
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Idle: cleaup SMTC idle hook as per Linux coding style.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
49f2ec91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
arch/mips/kernel/idle.c
arch/mips/kernel/idle.c
+7
-2
No files found.
arch/mips/kernel/idle.c
View file @
00baf857
...
@@ -218,13 +218,18 @@ void __init check_wait(void)
...
@@ -218,13 +218,18 @@ void __init check_wait(void)
}
}
}
}
void
arch_cpu_idle
(
void
)
static
void
smtc_idle_hook
(
void
)
{
{
#ifdef CONFIG_MIPS_MT_SMTC
#ifdef CONFIG_MIPS_MT_SMTC
extern
void
smtc_idle_loop_hook
(
void
);
void
smtc_idle_loop_hook
(
void
);
smtc_idle_loop_hook
();
smtc_idle_loop_hook
();
#endif
#endif
}
void
arch_cpu_idle
(
void
)
{
smtc_idle_hook
();
if
(
cpu_wait
)
if
(
cpu_wait
)
(
*
cpu_wait
)();
(
*
cpu_wait
)();
else
else
...
...
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