summaryrefslogtreecommitdiff
path: root/kernel/gcov/gcc_base.c
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2019-10-18 17:17:50 +0300
committerGeorgi Djakov <georgi.djakov@linaro.org>2019-10-20 12:14:41 +0300
commita8dfe193a60c6db7c54e03e3f1b96e0aa7244990 (patch)
tree0ef5f149ec3a97cba10ff97b3409e560e269c6e1 /kernel/gcov/gcc_base.c
parent83c774f0c69d9d1b32812f3fcf7dde9b556d2670 (diff)
interconnect: Add locking in icc_set_tag()
We must ensure that the tag is not changed while we aggregate the requests. Currently the icc_set_tag() is not using any locks and this may cause the values to be aggregated incorrectly. Fix this by acquiring the icc_lock while we set the tag. Link: https://lore.kernel.org/lkml/20191018141750.17032-1-georgi.djakov@linaro.org/ Fixes: 127ab2cc5f19 ("interconnect: Add support for path tags") Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions