aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/alchemy/pb1100/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/pb1100/init.c')
-rw-r--r--arch/mips/alchemy/pb1100/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/alchemy/pb1100/init.c b/arch/mips/alchemy/pb1100/init.c
index 7c6792308bc..d34fbd8cc93 100644
--- a/arch/mips/alchemy/pb1100/init.c
+++ b/arch/mips/alchemy/pb1100/init.c
@@ -54,7 +54,7 @@ void __init prom_init(void)
if (!memsize_str)
memsize = 0x04000000;
else
- strict_strtol(memsize_str, 0, &memsize);
+ strict_strtoul(memsize_str, 0, &memsize);
add_memory_region(0, memsize, BOOT_MEM_RAM);
}