x86: fix alloc_mptable()
authorYinghai Lu <yinghai@kernel.org>
Wed, 6 May 2009 17:07:07 +0000 (10:07 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 May 2009 08:35:07 +0000 (10:35 +0200)
commitee214558c2e959781a406e76c5b34364da638e1d
tree5fc0218815773b7eba93c91dc9e1972bf4f43954
parentb9e0353fc85dab4ef5ebcef2bd09ebc4ce6d5a7b
x86: fix alloc_mptable()

Fix the conditions when we stop updating the mptable due to
running out of slots.

[ Impact: fix memory corruption / non-working update_mptable boot parameter ]

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Len Brown <lenb@kernel.org>
LKML-Reference: <4A01C3BB.1000609@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse.c