diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-16 04:21:35 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-16 04:21:35 -0400 |
commit | 16c5b08572565d27866ff6dea30b89184cbe6248 (patch) | |
tree | 1c698c4e1c28a4a8bf59381e9e7490e707afb2c7 | |
parent | fa85015c0d95884c8dc42f38e2f2d6137d436b67 (diff) | |
parent | e74770fb6823c6fde49c3f2b38e3a2e68ae46682 (diff) |
Merge back ACPICA material for v4.19.
-rw-r--r-- | drivers/acpi/acpica/aclocal.h | 1 | ||||
-rw-r--r-- | drivers/acpi/acpica/nsaccess.c | 7 | ||||
-rw-r--r-- | drivers/acpi/acpica/nssearch.c | 1 | ||||
-rw-r--r-- | include/acpi/acpixf.h | 2 |
4 files changed, 1 insertions, 10 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index 51c386bf230d..c5367bf5487f 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h | |||
@@ -165,7 +165,6 @@ struct acpi_namespace_node { | |||
165 | #define ANOBJ_EVALUATED 0x20 /* Set on first evaluation of node */ | 165 | #define ANOBJ_EVALUATED 0x20 /* Set on first evaluation of node */ |
166 | #define ANOBJ_ALLOCATED_BUFFER 0x40 /* Method AML buffer is dynamic (install_method) */ | 166 | #define ANOBJ_ALLOCATED_BUFFER 0x40 /* Method AML buffer is dynamic (install_method) */ |
167 | 167 | ||
168 | #define IMPLICIT_EXTERNAL 0x02 /* iASL only: This object created implicitly via External */ | ||
169 | #define ANOBJ_IS_EXTERNAL 0x08 /* iASL only: This object created via External() */ | 168 | #define ANOBJ_IS_EXTERNAL 0x08 /* iASL only: This object created via External() */ |
170 | #define ANOBJ_METHOD_NO_RETVAL 0x10 /* iASL only: Method has no return value */ | 169 | #define ANOBJ_METHOD_NO_RETVAL 0x10 /* iASL only: Method has no return value */ |
171 | #define ANOBJ_METHOD_SOME_NO_RETVAL 0x20 /* iASL only: Method has at least one return value */ | 170 | #define ANOBJ_METHOD_SOME_NO_RETVAL 0x20 /* iASL only: Method has at least one return value */ |
diff --git a/drivers/acpi/acpica/nsaccess.c b/drivers/acpi/acpica/nsaccess.c index 220a718fbce9..83a593e2155d 100644 --- a/drivers/acpi/acpica/nsaccess.c +++ b/drivers/acpi/acpica/nsaccess.c | |||
@@ -613,13 +613,6 @@ acpi_ns_lookup(union acpi_generic_state *scope_info, | |||
613 | /* Special handling for the last segment (num_segments == 0) */ | 613 | /* Special handling for the last segment (num_segments == 0) */ |
614 | 614 | ||
615 | else { | 615 | else { |
616 | #ifdef ACPI_ASL_COMPILER | ||
617 | if (!acpi_gbl_disasm_flag | ||
618 | && (this_node->flags & ANOBJ_IS_EXTERNAL)) { | ||
619 | this_node->flags &= ~IMPLICIT_EXTERNAL; | ||
620 | } | ||
621 | #endif | ||
622 | |||
623 | /* | 616 | /* |
624 | * Sanity typecheck of the target object: | 617 | * Sanity typecheck of the target object: |
625 | * | 618 | * |
diff --git a/drivers/acpi/acpica/nssearch.c b/drivers/acpi/acpica/nssearch.c index e9c9a63bb6a4..f594ab75a5fe 100644 --- a/drivers/acpi/acpica/nssearch.c +++ b/drivers/acpi/acpica/nssearch.c | |||
@@ -381,7 +381,6 @@ acpi_ns_search_and_enter(u32 target_name, | |||
381 | if (flags & ACPI_NS_EXTERNAL || | 381 | if (flags & ACPI_NS_EXTERNAL || |
382 | (walk_state && walk_state->opcode == AML_SCOPE_OP)) { | 382 | (walk_state && walk_state->opcode == AML_SCOPE_OP)) { |
383 | new_node->flags |= ANOBJ_IS_EXTERNAL; | 383 | new_node->flags |= ANOBJ_IS_EXTERNAL; |
384 | new_node->flags |= IMPLICIT_EXTERNAL; | ||
385 | } | 384 | } |
386 | #endif | 385 | #endif |
387 | 386 | ||
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 48d84f0d9547..88072c92ace2 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | /* Current ACPICA subsystem version in YYYYMMDD format */ | 13 | /* Current ACPICA subsystem version in YYYYMMDD format */ |
14 | 14 | ||
15 | #define ACPI_CA_VERSION 0x20180531 | 15 | #define ACPI_CA_VERSION 0x20180629 |
16 | 16 | ||
17 | #include <acpi/acconfig.h> | 17 | #include <acpi/acconfig.h> |
18 | #include <acpi/actypes.h> | 18 | #include <acpi/actypes.h> |