diff options
author | Daniel Walter <dwalter@google.com> | 2014-05-26 17:59:32 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2014-05-28 15:47:16 -0400 |
commit | b2dfa048bae3b4afe1944237c1ee9525df00bb6f (patch) | |
tree | da24a40aece892980fad9aa2d4aec3aff9e61377 /arch/tile/mm | |
parent | ba159fd387a4d47bb41ddc3b06bfc28f33e8d936 (diff) |
replace strict_strto* call with kstrto*
remove obsolete calls to strict_strto* and replace them
with kstrto* calls accordingly.
Signed-off-by: Daniel Walter <dwalter@google.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/mm')
-rw-r--r-- | arch/tile/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/mm/init.c b/arch/tile/mm/init.c index 7ba1dc3d41fa..bfb3127b4df9 100644 --- a/arch/tile/mm/init.c +++ b/arch/tile/mm/init.c | |||
@@ -912,7 +912,7 @@ static long __write_once initfree = 1; | |||
912 | static int __init set_initfree(char *str) | 912 | static int __init set_initfree(char *str) |
913 | { | 913 | { |
914 | long val; | 914 | long val; |
915 | if (strict_strtol(str, 0, &val) == 0) { | 915 | if (kstrtol(str, 0, &val) == 0) { |
916 | initfree = val; | 916 | initfree = val; |
917 | pr_info("initfree: %s free init pages\n", | 917 | pr_info("initfree: %s free init pages\n", |
918 | initfree ? "will" : "won't"); | 918 | initfree ? "will" : "won't"); |