diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-08-15 07:24:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:02 -0400 |
commit | fd0197d26208b896caa958cc1780e8016f439711 (patch) | |
tree | 56eabebb73e655ffb9772bde33cb0319fcdabac3 | |
parent | 797798c1bed106a20d4c1ac689ae8a5b1069c5b2 (diff) |
Implement get_system_type() for Qemu to get procfs-enabled kernels to
link.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/qemu/q-setup.c | 5 |
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 | ||
7 | const char *get_system_type(void) | ||
8 | { | ||
9 | return "Qemu"; | ||
10 | } | ||
11 | |||
7 | static void __init qemu_timer_setup(struct irqaction *irq) | 12 | static void __init qemu_timer_setup(struct irqaction *irq) |
8 | { | 13 | { |
9 | /* set the clock to 100 Hz */ | 14 | /* set the clock to 100 Hz */ |