summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-23 00:35:33 -0700
committerIngo Molnar <mingo@elte.hu>2008-09-23 10:13:29 +0200
commita8b71a2810386a5ac8f43d2095fe3355f0d8db37 (patch)
tree367337c5dd6222dae45ede266760a44c5a9f5b3e /arch
parent2216d199b1430d1c0affb1498a9ebdbd9c0de439 (diff)
downloadop-kernel-dev-a8b71a2810386a5ac8f43d2095fe3355f0d8db37.zip
op-kernel-dev-a8b71a2810386a5ac8f43d2095fe3355f0d8db37.tar.gz
x86: fix macro with bad_bios_dmi_table
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index d29951c..3ce3edf 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -758,8 +758,8 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"),
},
},
- {}
#endif
+ {}
};
/*
OpenPOWER on IntegriCloud