diff options
author | 2012-10-09 12:01:02 +0800 | |
---|---|---|
committer | 2012-10-22 08:37:17 -0700 | |
commit | 253c9240ee09fd2a05d315ea44ac037a893d8981 (patch) | |
tree | 51694cfbb6d5f4c74e32eb19eb0ee6f5f48e0bb4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | firmware loader: cancel uncache work before caching firmware (diff) | |
download | linux-dev-253c9240ee09fd2a05d315ea44ac037a893d8981.tar.xz linux-dev-253c9240ee09fd2a05d315ea44ac037a893d8981.zip |
firmware loader: fix one reqeust_firmware race
Several loading requests may be pending on one same
firmware buf, and this patch moves fw_map_pages_buf()
before complete_all(&fw_buf->completion) and let all
requests see the mapped 'buf->data' once the loading
is completed.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions