diff options
author | Len Brown <lenb@toshiba.site> | 2006-04-01 05:12:23 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-04-01 05:12:23 -0500 |
commit | ec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6 (patch) | |
tree | 011cacb6bdbc32ea0fe54e7be4e4cc0848c8e77e /drivers | |
parent | 8313524a0d466f451a62709aaedf988d8257b21c (diff) |
ACPI: inline trivial acpi_os_get_thread_id()
acpi_os_get_thread_id() is used only for debugging
code that is not enabled on Linux, so stub it out.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/osl.c | 8 |
1 files changed, 0 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 | ||
899 | u32 acpi_os_get_thread_id(void) | ||
900 | { | ||
901 | if (!in_atomic()) | ||
902 | return current->pid; | ||
903 | |||
904 | return 0; | ||
905 | } | ||
906 | |||
907 | acpi_status acpi_os_signal(u32 function, void *info) | 899 | acpi_status acpi_os_signal(u32 function, void *info) |
908 | { | 900 | { |
909 | switch (function) { | 901 | switch (function) { |