summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-18 01:32:22 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 17:39:23 +0100
commit2925aba4223f4532e85f0c6f64584b3e0b2849c3 (patch)
tree1a7d38a22db3b745926232d665d6653baa47ee61 /arch/mips/dec
parent7ab2dc41d15f31e9d5472e46148337b4cf7c941c (diff)
downloadkernel-crypto-2925aba4223f4532e85f0c6f64584b3e0b2849c3.tar.gz
kernel-crypto-2925aba4223f4532e85f0c6f64584b3e0b2849c3.tar.xz
kernel-crypto-2925aba4223f4532e85f0c6f64584b3e0b2849c3.zip
[MIPS] Cleanup memory managment initialization.
Historically plat_mem_setup did the entire platform initialization. This was rather impractical because it meant plat_mem_setup had to get away without any kind of memory allocator. To keep old code from breaking plat_setup was just renamed to plat_setup and a second platform initialization hook for anything else was introduced. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/dec')
-rw-r--r--arch/mips/dec/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c
index ad5d436d80c..9c707b9ceb6 100644
--- a/arch/mips/dec/setup.c
+++ b/arch/mips/dec/setup.c
@@ -147,7 +147,7 @@ static void __init dec_be_init(void)
extern void dec_time_init(void);
extern void dec_timer_setup(struct irqaction *);
-void __init plat_setup(void)
+void __init plat_mem_setup(void)
{
board_be_init = dec_be_init;
board_time_init = dec_time_init;