diff options
-rw-r--r-- | Documentation/kernel-parameters.txt | 2 | ||||
-rw-r--r-- | drivers/acpi/osl.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 0b3de80ec8f6..c48f387109e8 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -312,6 +312,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
312 | acpi_osi=!* # remove all strings | 312 | acpi_osi=!* # remove all strings |
313 | acpi_osi=! # disable all built-in OS vendor | 313 | acpi_osi=! # disable all built-in OS vendor |
314 | strings | 314 | strings |
315 | acpi_osi=!! # enable all built-in OS vendor | ||
316 | strings | ||
315 | acpi_osi= # disable all strings | 317 | acpi_osi= # disable all strings |
316 | 318 | ||
317 | 'acpi_osi=!' can be used in combination with single or | 319 | 'acpi_osi=!' can be used in combination with single or |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 9f59dd1a0af7..f801b59f2a94 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1763,6 +1763,9 @@ void __init acpi_osi_setup(char *str) | |||
1763 | osi->enable = false; | 1763 | osi->enable = false; |
1764 | } | 1764 | } |
1765 | return; | 1765 | return; |
1766 | } else if (*str == '!') { | ||
1767 | osi_config.default_disabling = 0; | ||
1768 | return; | ||
1766 | } | 1769 | } |
1767 | enable = false; | 1770 | enable = false; |
1768 | } | 1771 | } |