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>
Este commit está contenido en:
Lv Zheng
2013-10-29 09:30:35 +08:00
cometido por Rafael J. Wysocki
padre c0144dc0e4
commit 7e94632fc5
Se han modificado 2 ficheros con 138 adiciones y 4 borrados

Ver fichero

@@ -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>