浏览代码

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 年之前
父节点
当前提交
fd0197d262
共有 1 个文件被更改,包括 5 次插入0 次删除
  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 */