commit | 60817c9b31ef7897d60bca2f384cbc316a3fdd8b | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Mon Oct 27 13:03:18 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Oct 28 09:33:17 2008 +0100 |
tree | ee159c8287ca45338804a57ce2098e1aaf8e0cb0 | |
parent | 3afa39493de510c33c56ddc76e6e1af7f87c5392 [diff] |
x86, memory hotplug: remove wrong -1 in calling init_memory_mapping() 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 <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>