commit | 7dd882195695871d6da046de036214d32f09e2ea | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Tue Dec 02 08:56:55 2014 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Dec 03 00:29:59 2014 +0100 |
tree | 9fa9019f85181538070a7f5fd24cb4ba0b9714a8 | |
parent | c50f13c672df758b59e026c15b9118f3ed46edc4 [diff] |
ACPICA: Events: Always modify GPE registers under the GPE lock It is reported that there are pieces of code invoking acpi_ev_finish_gpe() without holding acpi_gbl_gpe_lock. Since this function will modify GPE register values, there could be races breaking the register modification process. This patch fixes this issue. Lv Zheng. Reported-by: Joe Liu <joe.liu@apple.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>