aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/osl.c8
-rw-r--r--include/acpi/platform/aclinux.h4
2 files changed, 4 insertions, 8 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 13b5fd5854a8..56d97f1d108f 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -896,14 +896,6 @@ u8 acpi_os_writable(void *ptr, acpi_size len)
896} 896}
897#endif 897#endif
898 898
899u32 acpi_os_get_thread_id(void)
900{
901 if (!in_atomic())
902 return current->pid;
903
904 return 0;
905}
906
907acpi_status acpi_os_signal(u32 function, void *info) 899acpi_status acpi_os_signal(u32 function, void *info)
908{ 900{
909 switch (function) { 901 switch (function) {
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 2f5bb5bd76b7..b5655a665ba8 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -99,4 +99,8 @@
99 99
100#define acpi_cpu_flags unsigned long 100#define acpi_cpu_flags unsigned long
101 101
102#define acpi_thread_id u32
103
104static inline acpi_thread_id acpi_os_get_thread_id(void) { return 0; }
105
102#endif /* __ACLINUX_H__ */ 106#endif /* __ACLINUX_H__ */