Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
fd0197d262
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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
 
+const char *get_system_type(void)
+{
+	return "Qemu";
+}
+
 static void __init qemu_timer_setup(struct irqaction *irq)
 {
 	/* set the clock to 100 Hz */