summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2014-07-01 12:57:54 +0200
committerInki Dae <inki.dae@samsung.com>2014-10-15 20:05:14 +0900
commit7543d0fe2effefd1087d31663dacfac2667b95a7 (patch)
treef2bc9970f680b0b9594e587f82b9c223ebd82b0d /fs
parent9a88f15f375c20a59b4f2296686b69b141b793b2 (diff)
downloadlinux-3.10-7543d0fe2effefd1087d31663dacfac2667b95a7.tar.gz
linux-3.10-7543d0fe2effefd1087d31663dacfac2667b95a7.tar.bz2
linux-3.10-7543d0fe2effefd1087d31663dacfac2667b95a7.zip
reservation: update api and add some helpers
Move the list of shared fences to a struct, and return it in reservation_object_get_list(). Add reservation_object_get_excl to get the exclusive fence. Add reservation_object_reserve_shared(), which reserves space in the reservation_object for 1 more shared fence. reservation_object_add_shared_fence() and reservation_object_add_excl_fence() are used to assign a new fence to a reservation_object pointer, to complete a reservation. Changes since v1: - Add reservation_object_get_excl, reorder code a bit. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Acked-by: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions