mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 13:31:02 +07:00
ACPICA: Update check for setting the ANOBJ_IS_EXTERNAL flag.
The ANOBJ_IS_EXTERNAL flag is only used by an ACPICA utilities - iASL. No functional change for the Linux kernel should results from applying this patch, but it helps to reduce source code differences between the kernel and ACPICA upstream. [rjw: Subject and changelog] Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
bb42cc224a
commit
99567bc550
@ -381,7 +381,8 @@ acpi_ns_search_and_enter(u32 target_name,
|
||||
|
||||
/* Node is an object defined by an External() statement */
|
||||
|
||||
if (flags & ACPI_NS_EXTERNAL) {
|
||||
if (flags & ACPI_NS_EXTERNAL ||
|
||||
(walk_state && walk_state->opcode == AML_SCOPE_OP)) {
|
||||
new_node->flags |= ANOBJ_IS_EXTERNAL;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user