diff options
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 54a20ff4b864..7865a8069340 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <linux/workqueue.h> | 39 | #include <linux/workqueue.h> |
40 | #include <linux/nmi.h> | 40 | #include <linux/nmi.h> |
41 | #include <linux/acpi.h> | 41 | #include <linux/acpi.h> |
42 | #include <linux/acpi_io.h> | ||
43 | #include <linux/efi.h> | 42 | #include <linux/efi.h> |
44 | #include <linux/ioport.h> | 43 | #include <linux/ioport.h> |
45 | #include <linux/list.h> | 44 | #include <linux/list.h> |
@@ -49,9 +48,6 @@ | |||
49 | #include <asm/io.h> | 48 | #include <asm/io.h> |
50 | #include <asm/uaccess.h> | 49 | #include <asm/uaccess.h> |
51 | 50 | ||
52 | #include <acpi/acpi.h> | ||
53 | #include <acpi/acpi_bus.h> | ||
54 | #include <acpi/processor.h> | ||
55 | #include "internal.h" | 51 | #include "internal.h" |
56 | 52 | ||
57 | #define _COMPONENT ACPI_OS_SERVICES | 53 | #define _COMPONENT ACPI_OS_SERVICES |
@@ -544,7 +540,7 @@ static u64 acpi_tables_addr; | |||
544 | static int all_tables_size; | 540 | static int all_tables_size; |
545 | 541 | ||
546 | /* Copied from acpica/tbutils.c:acpi_tb_checksum() */ | 542 | /* Copied from acpica/tbutils.c:acpi_tb_checksum() */ |
547 | u8 __init acpi_table_checksum(u8 *buffer, u32 length) | 543 | static u8 __init acpi_table_checksum(u8 *buffer, u32 length) |
548 | { | 544 | { |
549 | u8 sum = 0; | 545 | u8 sum = 0; |
550 | u8 *end = buffer + length; | 546 | u8 *end = buffer + length; |
@@ -1282,7 +1278,7 @@ acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) | |||
1282 | jiffies = MAX_SCHEDULE_TIMEOUT; | 1278 | jiffies = MAX_SCHEDULE_TIMEOUT; |
1283 | else | 1279 | else |
1284 | jiffies = msecs_to_jiffies(timeout); | 1280 | jiffies = msecs_to_jiffies(timeout); |
1285 | 1281 | ||
1286 | ret = down_timeout(sem, jiffies); | 1282 | ret = down_timeout(sem, jiffies); |
1287 | if (ret) | 1283 | if (ret) |
1288 | status = AE_TIME; | 1284 | status = AE_TIME; |