diff options
author | Lv Zheng <zetalog@gmail.com> | 2016-10-26 15:40:12 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-10-29 01:57:43 +0200 |
commit | 25ccd2429fd0af5b9c2c136c8c593491aeabf162 (patch) | |
tree | 6e42efd5429fddba4bdaf301708c7e2b9870e8f6 /drivers/mfd/hi655x-pmic.c | |
parent | 07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff) |
ACPICA: Dispatcher: Fix order issue of method termination
The last step of the method termination should be the end of the method
serialization. Otherwise, the steps happening after it will face the race
issues that cannot be protected by the method serialization mechanism.
This patch fixes this issue by moving the per-method-object deletion code
prior than the end of the method serialization. Otherwise, the possible
race issues may result in AE_ALREADY_EXISTS error in a parallel
environment.
Fixes: 74f51b80a0c4 (ACPICA: Namespace: Fix dynamic table loading issues)
Reported-and-tested-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mfd/hi655x-pmic.c')
0 files changed, 0 insertions, 0 deletions