summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2010-12-03 09:05:08 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-03 11:51:51 -0800
commit1daa38d379932bde0d2036c2e10ced3e8842b74f (patch)
treeb151ff53d8601118c60db400bdd40a9ec068d59f /tools/perf/scripts/python
parentd5c21fc6155549e7f92fdeb039227f2b8e597e98 (diff)
staging/vme_user: fix usage of the slave resources after they've been freed
buf_unalloc() frees the memory buffers allocated with vme_alloc_consistent. The associated VME resource is needed in both vme_alloc_consistent and vme_free_consistent; however the slave VME resources are being freed before the calls to vme_free_consistent are made, which means the buffers are never returned. Fix this by freeing the VME resources only after the consistent buffers have been returned. Signed-off-by: Emilio G. Cota <cota@braap.org> Acked-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions