Browse Source

Implement get_system_type() for Qemu to get procfs-enabled kernels to
link.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle 20 years ago
parent
commit
fd0197d262
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/mips/qemu/q-setup.c

+ 5 - 0
arch/mips/qemu/q-setup.c

@@ -4,6 +4,11 @@
 
 
 #define QEMU_PORT_BASE 0xb4000000
 #define QEMU_PORT_BASE 0xb4000000
 
 
+const char *get_system_type(void)
+{
+	return "Qemu";
+}
+
 static void __init qemu_timer_setup(struct irqaction *irq)
 static void __init qemu_timer_setup(struct irqaction *irq)
 {
 {
 	/* set the clock to 100 Hz */
 	/* set the clock to 100 Hz */