summaryrefslogtreecommitdiff
path: root/sound/pci/trident/trident_main.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-02-03 12:39:46 +0100
committerMark Brown <broonie@kernel.org>2017-02-03 12:39:46 +0100
commit206c4720092d2a24bfefc041b377e889a220ffbf (patch)
tree2360fff83a9313d5c1d8c611cbcf7a55ecd5276d /sound/pci/trident/trident_main.c
parentd0e287a401d9acf67b75180b26e2d62b7d482652 (diff)
parent1372cef1c697d8aac0cc923f8aa2c37d790ec9ed (diff)
parentb98acbff9a05b371c5f0ca6e44a3af8ce9274379 (diff)
Merge remote-tracking branches 'regulator/fix/fixed' and 'regulator/fix/twl6040' into regulator-linus
and __PERCPU_REF_DEAD, __PERCPU_REF_ATOMIC set) and no requests. However, conditions at the time of the race are count of PERCPU_COUNT_BIAS + 0 and __PERCPU_REF_DEAD and __PERCPU_REF_ATOMIC set. The fix is to make the tryget routines use an actual boolean internally instead of the atomic long result truncated to a int. Fixes: e625305b3907 percpu-refcount: make percpu_ref based on longs instead of ints Link: https://bugzilla.kernel.org/show_bug.cgi?id=190751 Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com> Reviewed-by: Jens Axboe <axboe@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: e625305b3907 ("percpu-refcount: make percpu_ref based on longs instead of ints") Cc: stable@vger.kernel.org # v3.18+
Diffstat (limited to 'tools/perf/arch/powerpc')