x86: fix macro with bad_bios_dmi_table
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 23 Sep 2008 07:35:33 +0000 (00:35 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Sep 2008 08:13:29 +0000 (10:13 +0200)
DMI tables need a blank NULL tail.

fixes the crash on Ingo's test box.

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

index d29951c11be0ab10f47f8f78cccef6f1ea1bd63b..3ce3edfcc3cda0942e3181d130a06d27936a9ca6 100644 (file)
@@ -758,8 +758,8 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
                        DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"),
                },
        },
-       {}
 #endif
+       {}
 };
 
 /*