diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-10-30 21:31:18 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-31 09:37:35 -0400 |
commit | 40bce100cafb945f1fb5475a70628b4379c74f38 (patch) | |
tree | cc50d633bf086af087ebe6b873f558bdf088fa25 /drivers/acpi | |
parent | efb835429fff1488e4718138cdf5bc855a6762a4 (diff) |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/acpica/hwxfsleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c index 4895fca102dd..15dddc10fc9b 100644 --- a/drivers/acpi/acpica/hwxfsleep.c +++ b/drivers/acpi/acpica/hwxfsleep.c | |||
@@ -167,7 +167,7 @@ ACPI_EXPORT_SYMBOL(acpi_set_firmware_waking_vector64) | |||
167 | * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED | 167 | * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED |
168 | * | 168 | * |
169 | ******************************************************************************/ | 169 | ******************************************************************************/ |
170 | acpi_status asmlinkage acpi_enter_sleep_state_s4bios(void) | 170 | acpi_status acpi_enter_sleep_state_s4bios(void) |
171 | { | 171 | { |
172 | u32 in_value; | 172 | u32 in_value; |
173 | acpi_status status; | 173 | acpi_status status; |
@@ -361,7 +361,7 @@ ACPI_EXPORT_SYMBOL(acpi_enter_sleep_state_prep) | |||
361 | * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED | 361 | * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED |
362 | * | 362 | * |
363 | ******************************************************************************/ | 363 | ******************************************************************************/ |
364 | acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state) | 364 | acpi_status acpi_enter_sleep_state(u8 sleep_state) |
365 | { | 365 | { |
366 | acpi_status status; | 366 | acpi_status status; |
367 | 367 | ||