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>
This commit is contained in:
Len Brown
2006-04-01 05:12:23 -05:00
committed by Len Brown
parent 8313524a0d
commit ec7381d6bf
2 changed files with 4 additions and 8 deletions

View File

@@ -896,14 +896,6 @@ u8 acpi_os_writable(void *ptr, acpi_size len)
}
#endif
u32 acpi_os_get_thread_id(void)
{
if (!in_atomic())
return current->pid;
return 0;
}
acpi_status acpi_os_signal(u32 function, void *info)
{
switch (function) {