From: Shaohua Li Date: Mon, 27 Oct 2008 20:03:18 +0000 (-0700) Subject: x86, memory hotplug: remove wrong -1 in calling init_memory_mapping() X-Git-Tag: v2.6.27.9~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d7d06b6defd2778addbe70454667d00cfc37df;p=pandora-kernel.git x86, memory hotplug: remove wrong -1 in calling init_memory_mapping() commit 60817c9b31ef7897d60bca2f384cbc316a3fdd8b upstream. Impact: fix crash with memory hotplug Shuahua Li found: | I just did some experiments on a desktop for memory hotplug and this bug | triggered a crash in my test. | | Yinghai's suggestion also fixed the bug. We don't need to round it, just remove that extra -1 Signed-off-by: Yinghai Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed