ACPICA: Cleanup asmlinkage for ACPICA APIs.
authorLv Zheng <lv.zheng@intel.com>
Thu, 31 Oct 2013 01:31:18 +0000 (09:31 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 31 Oct 2013 13:37:35 +0000 (14:37 +0100)
commit40bce100cafb945f1fb5475a70628b4379c74f38
treecc50d633bf086af087ebe6b873f558bdf088fa25
parentefb835429fff1488e4718138cdf5bc855a6762a4
ACPICA: Cleanup asmlinkage for ACPICA APIs.

Add an asmlinkage wrapper around acpi_enter_sleep_state() to prevent
an empty stub from being called by assmebly code for ACPI_REDUCED_HARDWARE
set.

As arch/x86/kernel/acpi/wakeup_xx.S is only compiled when CONFIG_ACPI=y
and there are no users of ACPI_HARDWARE_REDUCED, currently this is in
fact not a real issue, but a cleanup to reduce source code differences
between Linux and ACPICA upstream.

[rjw: Changelog]
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/sleep.c
arch/x86/kernel/acpi/sleep.h
arch/x86/kernel/acpi/wakeup_32.S
arch/x86/kernel/acpi/wakeup_64.S
drivers/acpi/acpica/hwxfsleep.c
include/acpi/acpixf.h