summaryrefslogtreecommitdiffstats
path: root/arch/mips/qemu/q-setup.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-15 19:59:34 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 18:39:19 +0200
commitc583122c26ad04bb2379933dc5acc8b9479d6c67 (patch)
tree8afc9153e18b300ab93ff6a675e0c0f6e464c518 /arch/mips/qemu/q-setup.c
parent[MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. (diff)
downloadlinux-c583122c26ad04bb2379933dc5acc8b9479d6c67.tar.xz
linux-c583122c26ad04bb2379933dc5acc8b9479d6c67.zip
[MIPS] Qemu system shutdown support
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/qemu/q-setup.c')
-rw-r--r--arch/mips/qemu/q-setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c
index 022eb1af6db1..f27155bc2d9a 100644
--- a/arch/mips/qemu/q-setup.c
+++ b/arch/mips/qemu/q-setup.c
@@ -2,6 +2,8 @@
#include <asm/io.h>
#include <asm/time.h>
+extern void qemu_reboot_setup(void);
+
#define QEMU_PORT_BASE 0xb4000000
const char *get_system_type(void)
@@ -22,4 +24,6 @@ void __init plat_setup(void)
{
set_io_port_base(QEMU_PORT_BASE);
board_timer_setup = qemu_timer_setup;
+
+ qemu_reboot_setup();
}