diff options
Diffstat (limited to 'arch/mips/alchemy/db1x00/init.c')
-rw-r--r-- | arch/mips/alchemy/db1x00/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/alchemy/db1x00/init.c b/arch/mips/alchemy/db1x00/init.c index 847413514964..d91d334797c7 100644 --- a/arch/mips/alchemy/db1x00/init.c +++ b/arch/mips/alchemy/db1x00/init.c | |||
@@ -57,6 +57,6 @@ void __init prom_init(void) | |||
57 | if (!memsize_str) | 57 | if (!memsize_str) |
58 | memsize = 0x04000000; | 58 | memsize = 0x04000000; |
59 | else | 59 | else |
60 | strict_strtol(memsize_str, 0, &memsize); | 60 | strict_strtoul(memsize_str, 0, &memsize); |
61 | add_memory_region(0, memsize, BOOT_MEM_RAM); | 61 | add_memory_region(0, memsize, BOOT_MEM_RAM); |
62 | } | 62 | } |