x86: fix CONFIG_X86_RESERVE_LOW_64K=y
authorYinghai Lu <yhlu.kernel@gmail.com>
Mon, 22 Sep 2008 09:52:26 +0000 (02:52 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 22 Sep 2008 10:04:38 +0000 (12:04 +0200)
commit2216d199b1430d1c0affb1498a9ebdbd9c0de439
tree48e953025fe789449a20fe06fd2090fb33d7cc20
parent5871c6b0a52bb052c3891a787655043b90ae18e3
x86: fix CONFIG_X86_RESERVE_LOW_64K=y

The bad_bios_dmi_table() quirk never triggered because we do DMI setup
too late. Move it a bit earlier.

Also change the CONFIG_X86_RESERVE_LOW_64K quirk to operate on the e820
table directly instead of messing with early reservations - this handles
overlaps (which do occur in this low range of RAM) more gracefully.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup.c