From: Andrew Morton Date: Wed, 20 Feb 2013 02:14:29 +0000 (+1100) Subject: acpi-memory-hotplug-support-getting-hotplug-info-from-srat-fix-fix X-Git-Tag: next-20130220~1^2~495 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e33b5668e66263e9701e1a287c56ddfec9008c43;p=karo-tx-linux.git acpi-memory-hotplug-support-getting-hotplug-info-from-srat-fix-fix use strcmp() Cc: Tang Chen Signed-off-by: Andrew Morton --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 8571e4c17489..822ec0108861 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5317,7 +5317,7 @@ static int __init cmdline_parse_movablemem_map(char *p) if (!p) goto err; - if (!strncmp(p, "acpi", max_t(size_t, 4, strlen(p)))) + if (!strcmp(p, "acpi")) movablemem_map.acpi = true; /*