summaryrefslogtreecommitdiffstats
path: root/include/acpi/platform/acenv.h
diff options
context:
space:
mode:
authorLin Ming2010-09-15 07:36:55 +0200
committerLen Brown2010-10-01 07:47:55 +0200
commit8f40f171a29d0d2ae1ca8bd4a0c3fc9f514d1e20 (patch)
treebc727cb52b099f480a190f05f4410f6bbe71582c /include/acpi/platform/acenv.h
parentACPICA: Obsolete the acpi_os_derive_pci_id OSL interface (diff)
downloadkernel-qcow2-linux-8f40f171a29d0d2ae1ca8bd4a0c3fc9f514d1e20.tar.gz
kernel-qcow2-linux-8f40f171a29d0d2ae1ca8bd4a0c3fc9f514d1e20.tar.xz
kernel-qcow2-linux-8f40f171a29d0d2ae1ca8bd4a0c3fc9f514d1e20.zip
ACPICA: Add ACPI_INLINE configuration parameter
The C inline keyword is not standardized, ACPI_INLINE allows this to be configured on a per-compiler basis. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/platform/acenv.h')
-rw-r--r--include/acpi/platform/acenv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h
index c05aeba9e8f0..a3e334ab1119 100644
--- a/include/acpi/platform/acenv.h
+++ b/include/acpi/platform/acenv.h
@@ -193,6 +193,12 @@
#define ACPI_MUTEX_TYPE ACPI_BINARY_SEMAPHORE
#endif
+/* "inline" keywords - configurable since inline is not standardized */
+
+#ifndef ACPI_INLINE
+#define ACPI_INLINE
+#endif
+
/*
* Debugger threading model
* Use single threaded if the entire subsystem is contained in an application