Эх сурвалжийг харах

ACPI: parse 2nd MADT by default

http://bugzilla.kernel.org/show_bug.cgi?id=7465

Signed-off-by: Len Brown <len.brown@intel.com>
Len Brown 18 жил өмнө
parent
commit
09fe58356d

+ 1 - 1
Documentation/kernel-parameters.txt

@@ -142,7 +142,7 @@ and is between 256 and 4096 characters. It is defined in the file
 			Format: <int>
 			Format: <int>
 			2: use 2nd APIC table, if available
 			2: use 2nd APIC table, if available
 			1,0: use 1st APIC table
 			1,0: use 1st APIC table
-			default: 0
+			default: 2
 
 
 	acpi_sleep=	[HW,ACPI] Sleep options
 	acpi_sleep=	[HW,ACPI] Sleep options
 			Format: { s3_bios, s3_mode }
 			Format: { s3_bios, s3_mode }

+ 1 - 1
drivers/acpi/tables.c

@@ -42,7 +42,7 @@ static char *mps_inti_flags_trigger[] = { "dfl", "edge", "res", "level" };
 
 
 static struct acpi_table_desc initial_tables[ACPI_MAX_TABLES] __initdata;
 static struct acpi_table_desc initial_tables[ACPI_MAX_TABLES] __initdata;
 
 
-static int acpi_apic_instance __initdata;
+static int acpi_apic_instance __initdata = 2;
 
 
 void acpi_table_print_madt_entry(struct acpi_subtable_header *header)
 void acpi_table_print_madt_entry(struct acpi_subtable_header *header)
 {
 {