aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2011-02-28 15:14:19 -0500
committerChris Metcalf <cmetcalf@tilera.com>2011-03-01 16:20:36 -0500
commited54d38f0852b2e685393ddae2405d59ef44bed4 (patch)
tree17b70bfc11ed1db51ea110e8e8691162beddcee7
parent401586e9164d225d24bb9d3ddfeb03ef2e931ee3 (diff)
arch/tile: fix reversed test of strict_strtol() return value
This fixes the "initfree" boot argument. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
-rw-r--r--arch/tile/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/mm/init.c b/arch/tile/mm/init.c
index 9a62479aafb4..2ef9ce5102bc 100644
--- a/arch/tile/mm/init.c
+++ b/arch/tile/mm/init.c
@@ -1000,7 +1000,7 @@ static long __write_once initfree = 1;
1000static int __init set_initfree(char *str) 1000static int __init set_initfree(char *str)
1001{ 1001{
1002 long val; 1002 long val;
1003 if (strict_strtol(str, 0, &val)) { 1003 if (strict_strtol(str, 0, &val) == 0) {
1004 initfree = val; 1004 initfree = val;
1005 pr_info("initfree: %s free init pages\n", 1005 pr_info("initfree: %s free init pages\n",
1006 initfree ? "will" : "won't"); 1006 initfree ? "will" : "won't");