]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Drop Linux-specific waking vector functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Jan 2016 21:05:20 +0000 (22:05 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Jan 2016 21:05:20 +0000 (22:05 +0100)
commit117228e7667bca0b8b4fcf216efdd49667e8235a
treefba9c882c67cb4212a1a041011c22a1703ff9d5b
parente32b5c3eb2332c887d410b78822d2cb1d1f8333d
ACPICA: Drop Linux-specific waking vector functions

Commit 3d55a81497e6 (ACPICA: Hardware: Enable firmware waking vector
for both 32-bit and 64-bit FACS) added three functions that aren't
present in upstream ACPICA, acpi_hw_set_firmware_waking_vectors(),
acpi_set_firmware_waking_vectors() and acpi_set_firmware_waking_vector64(),
to allow Linux to use the previously existing API for setting the
platform firmware waking vector.

However, that wasn't necessary, since the ACPI sleep support code
in Linux can be modified to use the upstream ACPICA's API easily
and the additional functions may be dropped which reduces the code
size and puts the kernel's ACPICA code more in line with the upstream.

Make the changes as per the above.  While at it, make the relevant
function desctiption comments reflect the upstream ACPICA's ones.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Lv Zheng <lv.zheng@intel.com>
drivers/acpi/acpica/hwxfsleep.c
drivers/acpi/sleep.c
drivers/acpi/sleep.h
include/acpi/acpixf.h