]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Minimize the differences between linux GPE code and ACPICA code base
authorLin Ming <ming.m.lin@intel.com>
Tue, 6 Apr 2010 06:52:37 +0000 (14:52 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 20 Apr 2010 14:43:16 +0000 (10:43 -0400)
commit1c0e4a74144bd11c60e78154c7d53f8c0f6a1ead
treec8c14ac12dfc92c7147a049e5374d3a9036247b7
parenta1354a327798ad76a368ac60fef0d516c797d387
ACPICA: Minimize the differences between linux GPE code and ACPICA code base

We have ported Rafael's major GPE changes
(ACPI: Use GPE reference counting to support shared GPEs) into ACPICA code base.
But the port and Rafael's original patch have some differences, so we made
below patch to make linux GPE code consistent with ACPICA code base.

Most changes are about comments and coding styles.
Other noticeable changes are based on:

Rafael: Reduce code duplication related to GPE lookup
https://patchwork.kernel.org/patch/86237/

Rafael: Always use the same lock for GPE locking
https://patchwork.kernel.org/patch/90471/

A new field gpe_count in struct acpi_gpe_block_info to record the number
of individual GPEs in block.

Rename acpi_ev_save_method_info to acpi_ev_match_gpe_method.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Robert Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
12 files changed:
drivers/acpi/acpica/acevents.h
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/evgpe.c
drivers/acpi/acpica/evgpeblk.c
drivers/acpi/acpica/evxface.c
drivers/acpi/acpica/evxfevnt.c
drivers/acpi/acpica/exoparg2.c
drivers/acpi/scan.c
drivers/acpi/system.c
include/acpi/acexcep.h
include/acpi/acpixf.h
include/acpi/actypes.h