x86: fix DMI on EFI
authorBrian Maly <bmaly@redhat.com>
Wed, 4 Mar 2009 02:55:31 +0000 (21:55 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Mar 2009 17:55:56 +0000 (18:55 +0100)
commitff0c0874905fb312ca1491bbdac2653b0b48c20b
tree41bbb2ee34a2f7b3b330d161f0f7afed86eec1a1
parent559595a985e106d2fa9f0c79b7f5805453fed593
x86: fix DMI on EFI

Impact: reactivate DMI quirks on EFI hardware

DMI tables are loaded by EFI, so the dmi calls must happen after
efi_init() and not before.

Currently Apple hardware uses DMI to determine the framebuffer mappings
for efifb. Without DMI working you also have no video on MacBook Pro.

This patch resolves the DMI issue for EFI hardware (DMI is now properly
detected at boot), and additionally efifb now loads on Apple hardware
(i.e. video works).

Signed-off-by: Brian Maly <bmaly@redhat>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: ying.huang@intel.com
LKML-Reference: <49ADEDA3.1030406@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
 arch/x86/kernel/setup.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
arch/x86/kernel/setup.c