tile: use pmd_pfn() instead of casting via pte_t
[cascardo/linux.git] / kernel / ksysfs.c
index 6ada93c..9659d38 100644 (file)
@@ -113,7 +113,7 @@ static ssize_t kexec_crash_size_store(struct kobject *kobj,
        unsigned long cnt;
        int ret;
 
-       if (strict_strtoul(buf, 0, &cnt))
+       if (kstrtoul(buf, 0, &cnt))
                return -EINVAL;
 
        ret = crash_shrink_memory(cnt);