From: Shaohua Li Date: Sat, 16 Jul 2011 13:30:47 +0000 (+1000) Subject: Linux supports some optional features, but it should notify the BIOS about X-Git-Tag: next-20110726~2^2~86 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=72b7d9eabb95c3193586338e49c6171b2915dfb3;p=karo-tx-linux.git Linux supports some optional features, but it should notify the BIOS about them via the _OSI method. Currently Linux doesn't notify any, which might make such features not work because the BIOS doesn't know about them. Jarosz has a system which needs this to make ACPI processor aggregator device work. Reported-by: "Jarosz, Sebastian" Signed-off-by: Shaohua Li Acked-by: Matthew Garrett Cc: Len Brown Signed-off-by: Andrew Morton --- diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 81af56eed3a6..f01a5a59d467 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1098,7 +1098,13 @@ struct osi_setup_entry { bool enable; }; -static struct osi_setup_entry __initdata osi_setup_entries[OSI_STRING_ENTRIES_MAX]; +static struct osi_setup_entry __initdata + osi_setup_entries[OSI_STRING_ENTRIES_MAX] = { + {"Module Device", true}, + {"Processor Device", true}, + {"3.0 _SCP Extensions", true}, + {"Processor Aggregator Device", true}, +}; void __init acpi_osi_setup(char *str) {