summaryrefslogtreecommitdiffstats
path: root/arch/mips/qemu
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-15 11:24:34 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:02 +0100
commitfd0197d26208b896caa958cc1780e8016f439711 (patch)
tree56eabebb73e655ffb9772bde33cb0319fcdabac3 /arch/mips/qemu
parent797798c1bed106a20d4c1ac689ae8a5b1069c5b2 (diff)
downloadblackbird-op-linux-fd0197d26208b896caa958cc1780e8016f439711.tar.gz
blackbird-op-linux-fd0197d26208b896caa958cc1780e8016f439711.zip
Implement get_system_type() for Qemu to get procfs-enabled kernels to
link. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/qemu')
-rw-r--r--arch/mips/qemu/q-setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c
index 1a80eee8cd35..022eb1af6db1 100644
--- a/arch/mips/qemu/q-setup.c
+++ b/arch/mips/qemu/q-setup.c
@@ -4,6 +4,11 @@
#define QEMU_PORT_BASE 0xb4000000
+const char *get_system_type(void)
+{
+ return "Qemu";
+}
+
static void __init qemu_timer_setup(struct irqaction *irq)
{
/* set the clock to 100 Hz */
OpenPOWER on IntegriCloud