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/kernel/signal.c | |
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/kernel/signal.c')
-rw-r--r-- | arch/tile/kernel/signal.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/tile/kernel/signal.c b/arch/tile/kernel/signal.c index 2d1dbf38a9ab..d1d026f01267 100644 --- a/arch/tile/kernel/signal.c +++ b/arch/tile/kernel/signal.c | |||
@@ -321,14 +321,13 @@ int show_unhandled_signals = 1; | |||
321 | 321 | ||
322 | static int __init crashinfo(char *str) | 322 | static int __init crashinfo(char *str) |
323 | { | 323 | { |
324 | unsigned long val; | ||
325 | const char *word; | 324 | const char *word; |
326 | 325 | ||
327 | if (*str == '\0') | 326 | if (*str == '\0') |
328 | val = 2; | 327 | show_unhandled_signals = 2; |
329 | else if (*str != '=' || strict_strtoul(++str, 0, &val) != 0) | 328 | else if (*str != '=' || kstrtoint(++str, 0, &show_unhandled_signals) != 0) |
330 | return 0; | 329 | return 0; |
331 | show_unhandled_signals = val; | 330 | |
332 | switch (show_unhandled_signals) { | 331 | switch (show_unhandled_signals) { |
333 | case 0: | 332 | case 0: |
334 | word = "No"; | 333 | word = "No"; |