From fd0197d26208b896caa958cc1780e8016f439711 Mon Sep 17 00:00:00 2001
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 15 Aug 2005 11:24:34 +0000
Subject: Implement get_system_type() for Qemu to get procfs-enabled kernels to
 link.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
 arch/mips/qemu/q-setup.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c
index 1a80eee8cd3..022eb1af6db 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 */
-- 
cgit v1.2.3-18-g5258