]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ACPICA: acpi_exec: fixing -fi option
authorErik Schmauss <erik.schmauss@intel.com>
Fri, 10 Aug 2018 21:43:00 +0000 (14:43 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Aug 2018 21:49:13 +0000 (23:49 +0200)
commit77d4e0966a8a6f8a3aa9d27b067a1fc0ec10628d
tree37d09062dc984732812fadc92ad76129be3c2c9b
parentfb2ef998af44fb94214f3cf1c0e85d7a4e642fcb
ACPICA: acpi_exec: fixing -fi option

Field elements listed in the init file used to be initialized after
the table load and before executing module-level code blocks. The
recent changes in module-level code mean that the table load becomes
a method execution. If fields are used within module-level code and
we are executing with -fi option, then these values are populated
after the table has finished loading. This commit changes the
initialization of objects listed in the init file so that field unit
values are populated during the table load.

Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/acnamesp.h
drivers/acpi/acpica/dsfield.c
drivers/acpi/acpica/nsaccess.c