diff options
author | Lin Ming <ming.m.lin@intel.com> | 2009-12-11 10:28:27 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-16 01:29:37 +0300 |
commit | e31c32cfe52e98344dad28853c3331879f72c4b0 (patch) | |
tree | 6eb3fe63ef91c8125757f52ddfe0e9a82d22cff0 /drivers/acpi/acpica/dsmethod.c | |
parent | 465da9eb75665203a826f961de74a817b870850a (diff) | |
download | linux-e31c32cfe52e98344dad28853c3331879f72c4b0.tar.xz |
ACPICA: Module-level code: enable _REG execution in same scope
This change enables the execution of _REG methods that appear
in the same scope as the module-level code, in resonse to an
operation region declaration within the module-level code.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dsmethod.c')
-rw-r--r-- | drivers/acpi/acpica/dsmethod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c index 567a4899a018..e786f9fd767f 100644 --- a/drivers/acpi/acpica/dsmethod.c +++ b/drivers/acpi/acpica/dsmethod.c @@ -414,7 +414,7 @@ acpi_ds_call_control_method(struct acpi_thread_state *thread, /* Invoke an internal method if necessary */ if (obj_desc->method.method_flags & AML_METHOD_INTERNAL_ONLY) { - status = obj_desc->method.implementation(next_walk_state); + status = obj_desc->method.extra.implementation(next_walk_state); if (status == AE_OK) { status = AE_CTRL_TERMINATE; } |