powerpc/mm/radix: Parse disable_radix commandline correctly.
[linux-2.6-block.git] / arch / powerpc / mm / init_64.c
index 63470b06c50295632c7a0bfc9397d2a7ad78c331..51ce091914f9760b85853d7f197bceb5ef73e02a 100644 (file)
@@ -366,7 +366,7 @@ static int __init parse_disable_radix(char *p)
 {
        bool val;
 
-       if (strlen(p) == 0)
+       if (!p)
                val = true;
        else if (kstrtobool(p, &val))
                return -EINVAL;