aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/platform
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-10-29 09:30:35 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-31 14:35:50 +0100
commit7e94632fc530d990de3110e6c53425d6e28dd238 (patch)
tree7242d7226e91aa1900e8370f36e51332ab006b87 /include/acpi/platform
parentACPICA: Simplify configuration of global ACPI_REDUCED_HARDWARE macro. (diff)
downloadlinux-dev-7e94632fc530d990de3110e6c53425d6e28dd238.tar.xz
linux-dev-7e94632fc530d990de3110e6c53425d6e28dd238.zip
ACPICA: Add support to allow host OS to redefine individual OSL prototypes.
This change enables the host OS to redefine OSL prototypes found in the acpiosxf.h file. This allows the host OS to implement OSL interfaces with a macro or inlined function. Further, it allows the host OS to add any additional required modifiers such as __iomem, __init, __exit, etc., as necessary on a per-interface basis. Enables maximum flexibility for the OSL interfaces. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/platform')
-rw-r--r--include/acpi/platform/aclinux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 0e6e73c04dcb..04e87a3b8086 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -182,6 +182,7 @@ static inline void acpi_os_free(void *a)
} \
lock ? AE_OK : AE_NO_MEMORY; \
})
+#define ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_create_lock
#ifdef EXPORT_ACPI_INTERFACES
#include <linux/export.h>