diff options
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 5cfb7b5cc0b8..12c09fafce9a 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -993,11 +993,11 @@ static int __init acpi_osi_setup(char *str) | |||
993 | if (str == NULL || *str == '\0') { | 993 | if (str == NULL || *str == '\0') { |
994 | printk(KERN_INFO PREFIX "_OSI method disabled\n"); | 994 | printk(KERN_INFO PREFIX "_OSI method disabled\n"); |
995 | acpi_gbl_create_osi_method = FALSE; | 995 | acpi_gbl_create_osi_method = FALSE; |
996 | } else if (!strcmp("!Linux", str)) { | ||
997 | enable_osi_linux(0); | ||
996 | } else if (*str == '!') { | 998 | } else if (*str == '!') { |
997 | if (acpi_osi_invalidate(++str) == AE_OK) | 999 | if (acpi_osi_invalidate(++str) == AE_OK) |
998 | printk(KERN_INFO PREFIX "Deleted _OSI(%s)\n", str); | 1000 | printk(KERN_INFO PREFIX "Deleted _OSI(%s)\n", str); |
999 | } else if (!strcmp("!Linux", str)) { | ||
1000 | enable_osi_linux(0); | ||
1001 | } else if (!strcmp("Linux", str)) { | 1001 | } else if (!strcmp("Linux", str)) { |
1002 | enable_osi_linux(1); | 1002 | enable_osi_linux(1); |
1003 | } else if (*osi_additional_string == '\0') { | 1003 | } else if (*osi_additional_string == '\0') { |
@@ -1092,7 +1092,7 @@ void acpi_os_release_lock(acpi_spinlock lockp, acpi_cpu_flags flags) | |||
1092 | acpi_status | 1092 | acpi_status |
1093 | acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache) | 1093 | acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache) |
1094 | { | 1094 | { |
1095 | *cache = kmem_cache_create(name, size, 0, 0, NULL, NULL); | 1095 | *cache = kmem_cache_create(name, size, 0, 0, NULL); |
1096 | if (*cache == NULL) | 1096 | if (*cache == NULL) |
1097 | return AE_ERROR; | 1097 | return AE_ERROR; |
1098 | else | 1098 | else |