summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-05-21 16:59:19 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-05-22 01:34:27 +0200
commitbdc92d74e0ec95a8101447467c25f015105f2e5a (patch)
tree3351d0c3678a5db6a1229c89c8f158748890112f /arch/mips/include/asm
parentd882f07a83642283b9bc4e7f4c56ac4982c5e629 (diff)
downloadlinux-stable-bdc92d74e0ec95a8101447467c25f015105f2e5a.tar.gz
linux-stable-bdc92d74e0ec95a8101447467c25f015105f2e5a.tar.bz2
linux-stable-bdc92d74e0ec95a8101447467c25f015105f2e5a.zip
MIPS: Idle: Consolidate all declarations in <asm/idle.h>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/idle.h11
-rw-r--r--arch/mips/include/asm/processor.h1
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/mips/include/asm/idle.h b/arch/mips/include/asm/idle.h
new file mode 100644
index 000000000000..8b26ac5c854e
--- /dev/null
+++ b/arch/mips/include/asm/idle.h
@@ -0,0 +1,11 @@
+#ifndef __ASM_IDLE_H
+#define __ASM_IDLE_H
+
+#include <linux/linkage.h>
+
+extern void (*cpu_wait)(void);
+extern asmlinkage void r4k_wait(void);
+extern void r4k_wait_irqoff(void);
+extern void __pastwait(void);
+
+#endif /* __ASM_IDLE_H */
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h
index 71686c897dea..1470b7b68b0e 100644
--- a/arch/mips/include/asm/processor.h
+++ b/arch/mips/include/asm/processor.h
@@ -28,7 +28,6 @@
/*
* System setup and hardware flags..
*/
-extern void (*cpu_wait)(void);
extern unsigned int vced_count, vcei_count;