aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-15 07:24:34 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:02 -0400
commitfd0197d26208b896caa958cc1780e8016f439711 (patch)
tree56eabebb73e655ffb9772bde33cb0319fcdabac3 /arch/mips
parent797798c1bed106a20d4c1ac689ae8a5b1069c5b2 (diff)
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')
-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 @@
4 4
5#define QEMU_PORT_BASE 0xb4000000 5#define QEMU_PORT_BASE 0xb4000000
6 6
7const char *get_system_type(void)
8{
9 return "Qemu";
10}
11
7static void __init qemu_timer_setup(struct irqaction *irq) 12static void __init qemu_timer_setup(struct irqaction *irq)
8{ 13{
9 /* set the clock to 100 Hz */ 14 /* set the clock to 100 Hz */