summaryrefslogtreecommitdiffstats
path: root/arch/mips/qemu
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-15 13:24:34 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:32:02 +0200
commitfd0197d26208b896caa958cc1780e8016f439711 (patch)
tree56eabebb73e655ffb9772bde33cb0319fcdabac3 /arch/mips/qemu
parentA little more Kconfig untangeling. (diff)
downloadlinux-fd0197d26208b896caa958cc1780e8016f439711.tar.xz
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 */