diff options
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 88bb9d05b038..a0c09adf7e7d 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -840,7 +840,7 @@ acpi_status acpi_os_remove_interrupt_handler(u32 irq, acpi_osd_handler handler) | |||
840 | 840 | ||
841 | void acpi_os_sleep(u64 ms) | 841 | void acpi_os_sleep(u64 ms) |
842 | { | 842 | { |
843 | schedule_timeout_interruptible(msecs_to_jiffies(ms)); | 843 | msleep(ms); |
844 | } | 844 | } |
845 | 845 | ||
846 | void acpi_os_stall(u32 us) | 846 | void acpi_os_stall(u32 us) |
@@ -1355,7 +1355,7 @@ static int __init acpi_os_name_setup(char *str) | |||
1355 | if (!str || !*str) | 1355 | if (!str || !*str) |
1356 | return 0; | 1356 | return 0; |
1357 | 1357 | ||
1358 | for (; count-- && str && *str; str++) { | 1358 | for (; count-- && *str; str++) { |
1359 | if (isalnum(*str) || *str == ' ' || *str == ':') | 1359 | if (isalnum(*str) || *str == ' ' || *str == ':') |
1360 | *p++ = *str; | 1360 | *p++ = *str; |
1361 | else if (*str == '\'' || *str == '"') | 1361 | else if (*str == '\'' || *str == '"') |