projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49f2ec9
)
MIPS: Idle: cleaup SMTC idle hook as per Linux coding style.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 21 May 2013 10:47:26 +0000
(12:47 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 21 May 2013 23:34:25 +0000
(
01:34
+0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/idle.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/idle.c
b/arch/mips/kernel/idle.c
index 1e9d9383d49f9fc06206aa57b367a93d39ea97bc..28abda73126ac0504cbc5397309a12693808236d 100644
(file)
--- a/
arch/mips/kernel/idle.c
+++ b/
arch/mips/kernel/idle.c
@@
-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
-
extern
void smtc_idle_loop_hook(void);
+ void smtc_idle_loop_hook(void);
smtc_idle_loop_hook();
#endif
+}
+
+void arch_cpu_idle(void)
+{
+ smtc_idle_hook();
if (cpu_wait)
(*cpu_wait)();
else