summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exconfig.c
diff options
context:
space:
mode:
authorBob Moore2013-04-12 02:25:41 +0200
committerRafael J. Wysocki2013-04-12 13:29:48 +0200
commit58892c962a0f8b7187b036e787223365864bde3f (patch)
treefcf84c2f3f4152331aa0536e0819f3067fa3b369 /drivers/acpi/acpica/exconfig.c
parentACPICA: Fix a format string for 64-bit generation (diff)
downloadkernel-qcow2-linux-58892c962a0f8b7187b036e787223365864bde3f.tar.gz
kernel-qcow2-linux-58892c962a0f8b7187b036e787223365864bde3f.tar.xz
kernel-qcow2-linux-58892c962a0f8b7187b036e787223365864bde3f.zip
ACPICA: Add a lock to the internal object reference count mechanism
Certain external interfaces need to update object references without holding the interpreter or namespace mutex objects. To prevent race conditions, add a spinlock around the increment and decrement of the reference counts for internal ACPI objects. Reported by Andriy Gapon (avg@FreeBSD.org). Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Andriy Gapon <avg@FreeBSD.org> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/exconfig.c')
0 files changed, 0 insertions, 0 deletions