]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48e8fb302b1cfa768951e76ae3c406efb57a0ede
tree5fc0218815773b7eba93c91dc9e1972bf4f43954
parentb0ddf0571a8727aa3c0fe08987d9a24f5acc8530
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