summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/system.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-19 14:40:51 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-23 17:30:17 +0900
commit2e046b9487dcc60707cac77fb8f744ec830209cd (patch)
tree9031ab1f8c1d2037b6be97e9378983a89267fd54 /arch/sh/include/asm/system.h
parentd888a4c76c51092993643f8992bf55b3c28da483 (diff)
downloadtalos-op-linux-2e046b9487dcc60707cac77fb8f744ec830209cd.tar.gz
talos-op-linux-2e046b9487dcc60707cac77fb8f744ec830209cd.zip
sh: Provide cpu_idle_wait() to fix up cpuidle/SMP build.
Crib the x86 cpu_idle_wait() implementation and shove it in with the idle code, subsequently enabling ARCH_HAS_CPU_IDLE_WAIT. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/system.h')
-rw-r--r--arch/sh/include/asm/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/system.h b/arch/sh/include/asm/system.h
index a88895e6dcb0..ab79e1f4fbe0 100644
--- a/arch/sh/include/asm/system.h
+++ b/arch/sh/include/asm/system.h
@@ -154,6 +154,7 @@ extern struct dentry *sh_debugfs_root;
void per_cpu_trap_init(void);
void default_idle(void);
+void cpu_idle_wait(void);
asmlinkage void break_point_trap(void);
OpenPOWER on IntegriCloud