diff options
author | Daniel Walter <dwalter@google.com> | 2014-06-03 16:21:05 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-06-04 22:50:40 +0200 |
commit | 8ca635bfc0e4488d167cea322c7e098689f37080 (patch) | |
tree | 046f386a892f0bff2b87cde39aa987780408e099 /arch/mips/alchemy/board-xxs1500.c | |
parent | b4f16c938eed87aac733972e735c5bea700948aa (diff) | |
download | talos-obmc-linux-8ca635bfc0e4488d167cea322c7e098689f37080.tar.gz talos-obmc-linux-8ca635bfc0e4488d167cea322c7e098689f37080.zip |
MIPS: Replace obsolete strict_strto call with kstrto
Signed-off-by: Daniel Walter <dwalter@google.com>
Cc: linux-kernel@vger.kernel.org
Cc: richard@nod.at
Cc: akpm@linux-foundation.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/board-xxs1500.c')
-rw-r--r-- | arch/mips/alchemy/board-xxs1500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/alchemy/board-xxs1500.c b/arch/mips/alchemy/board-xxs1500.c index bd5513650293..3fb814be0e91 100644 --- a/arch/mips/alchemy/board-xxs1500.c +++ b/arch/mips/alchemy/board-xxs1500.c @@ -49,7 +49,7 @@ void __init prom_init(void) prom_init_cmdline(); memsize_str = prom_getenv("memsize"); - if (!memsize_str || strict_strtoul(memsize_str, 0, &memsize)) + if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) memsize = 0x04000000; add_memory_region(0, memsize, BOOT_MEM_RAM); |