Bläddra i källkod

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>
Yinghai Lu 16 år sedan
förälder
incheckning
a8b71a2810
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      arch/x86/kernel/setup.c

+ 1 - 1
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
+	{}
 };
 
 /*