diff options
Diffstat (limited to 'arch/mips/txx9/rbtx4927/prom.c')
-rw-r--r-- | arch/mips/txx9/rbtx4927/prom.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/txx9/rbtx4927/prom.c b/arch/mips/txx9/rbtx4927/prom.c index 942e627d2dc1..5c0de54ebdd2 100644 --- a/arch/mips/txx9/rbtx4927/prom.c +++ b/arch/mips/txx9/rbtx4927/prom.c | |||
@@ -36,10 +36,6 @@ | |||
36 | 36 | ||
37 | void __init rbtx4927_prom_init(void) | 37 | void __init rbtx4927_prom_init(void) |
38 | { | 38 | { |
39 | extern int tx4927_get_mem_size(void); | ||
40 | int msize; | ||
41 | |||
42 | prom_init_cmdline(); | 39 | prom_init_cmdline(); |
43 | msize = tx4927_get_mem_size(); | 40 | add_memory_region(0, tx4927_get_mem_size(), BOOT_MEM_RAM); |
44 | add_memory_region(0, msize << 20, BOOT_MEM_RAM); | ||
45 | } | 41 | } |