ACPICA: Namespace: Change namespace override to avoid node deletion
authorBob Moore <robert.moore@intel.com>
Wed, 1 Jul 2015 06:44:31 +0000 (14:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Jul 2015 21:17:54 +0000 (23:17 +0200)
commit8ea98655775e904ea406d74a887d0b2254651b5a
tree06414a7a2a98370bbec306ceb7083484cdeaf88d
parentfe536995f2fe26fff111a9a06bf3f71e179c92cf
ACPICA: Namespace: Change namespace override to avoid node deletion

ACPICA commit c0ce529e1fbb8ec47d2522a3aa10f3ab77e16e41

There is no reference counting implemented for struct acpi_namespace_node, so it
is currently not removable during runtime.
This patch changes the namespace override code to keep the old
struct acpi_namespace_node undeleted so that the override mechanism can happen
during runtime. Bob Moore.

Link: https://github.com/acpica/acpica/commit/c0ce529e
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nssearch.c
include/acpi/acpixf.h