summaryrefslogtreecommitdiffstats
path: root/include/acpi/platform
diff options
context:
space:
mode:
authorLen Brown <lenb@toshiba.site>2006-04-01 05:12:23 -0500
committerLen Brown <len.brown@intel.com>2006-04-01 05:12:23 -0500
commitec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6 (patch)
tree011cacb6bdbc32ea0fe54e7be4e4cc0848c8e77e /include/acpi/platform
parent8313524a0d466f451a62709aaedf988d8257b21c (diff)
downloadlinux-ec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6.tar.gz
linux-ec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6.tar.bz2
linux-ec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6.zip
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 'include/acpi/platform')
-rw-r--r--include/acpi/platform/aclinux.h4
1 files changed, 4 insertions, 0 deletions
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 @@
#define acpi_cpu_flags unsigned long
+#define acpi_thread_id u32
+
+static inline acpi_thread_id acpi_os_get_thread_id(void) { return 0; }
+
#endif /* __ACLINUX_H__ */