aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorUCHINO Satoshi <[email protected]>2013-05-23 11:10:11 +0900
committerFelipe Balbi <[email protected]>2013-06-10 17:10:34 +0300
commitd68c277b501889b3a50c179d1c3d704db7947b83 (patch)
tree6d3b81f4a3279c32f353184dc744697b33f2f958 /tools/perf/scripts/python/bin
parenteb127cb519d73c0d0e8089dcbde8c94dc1fc7e20 (diff)
usb: gadget: f_mass_storage: add missing memory barrier for thread_wakeup_needed
Without this memory barrier, the file-storage thread may fail to escape from the following while loop, because it may observe new common->thread_wakeup_needed and old bh->state which are updated by the callback functions. /* Wait for the CBW to arrive */ while (bh->state != BUF_STATE_FULL) { rc = sleep_thread(common); if (rc) return rc; } Cc: [email protected] Signed-off-by: UCHINO Satoshi <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions