diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2009-11-06 11:35:33 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-12-17 02:57:08 +0100 |
commit | 04cfb90a92a2f9f7b56b2f85c528be7d1561e0e5 (patch) | |
tree | 332e2aae4ebc66274e61f4174f922635e4d386af /arch/mips/include/asm/mach-loongson | |
parent | MIPS: Collect FPU emulator statistics per-CPU. (diff) | |
download | linux-04cfb90a92a2f9f7b56b2f85c528be7d1561e0e5.tar.xz linux-04cfb90a92a2f9f7b56b2f85c528be7d1561e0e5.zip |
MIPS: Loongson: Cleanup machtype support
To choose code for different machines by the value of machtype it needs to
be initialized as early as possible. So move initialization of
mips_machtype to prom_init().
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-loongson')
-rw-r--r-- | arch/mips/include/asm/mach-loongson/loongson.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-loongson/loongson.h b/arch/mips/include/asm/mach-loongson/loongson.h index e6869aa52bc8..efb234437791 100644 --- a/arch/mips/include/asm/mach-loongson/loongson.h +++ b/arch/mips/include/asm/mach-loongson/loongson.h @@ -29,6 +29,7 @@ extern unsigned long memsize, highmemsize; /* loongson-specific command line, env and memory initialization */ extern void __init prom_init_memory(void); extern void __init prom_init_cmdline(void); +extern void __init prom_init_machtype(void); extern void __init prom_init_env(void); /* irq operation functions */ |