summaryrefslogtreecommitdiffstats
path: root/include/linux/fence.h
diff options
context:
space:
mode:
authorGustavo Padovan2016-01-21 13:49:21 +0100
committerGreg Kroah-Hartman2016-02-08 02:34:58 +0100
commitb55b54b5db330e36cd465adb3fbe274ffb1061d3 (patch)
tree21f0d72fc945ea6f57d3a288d2a3abb3b73b4810 /include/linux/fence.h
parentstaging/android: rename 'sync_pt' to 'fence' in struct sync_fence_cb (diff)
downloadkernel-qcow2-linux-b55b54b5db330e36cd465adb3fbe274ffb1061d3.tar.gz
kernel-qcow2-linux-b55b54b5db330e36cd465adb3fbe274ffb1061d3.tar.xz
kernel-qcow2-linux-b55b54b5db330e36cd465adb3fbe274ffb1061d3.zip
staging/android: remove struct sync_pt
struct sync_pt was just wrapping around struct fence and creating an extra abstraction layer. The only two members of struct sync_pt, child_list and active_list, were moved to struct fence in an earlier commit. After removing those two members struct sync_pt is nothing more than struct fence, so remove it all and use struct fence directly. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fence.h')
-rw-r--r--include/linux/fence.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fence.h b/include/linux/fence.h
index bb522011383b..605bd88246a6 100644
--- a/include/linux/fence.h
+++ b/include/linux/fence.h
@@ -79,6 +79,8 @@ struct fence {
unsigned long flags;
ktime_t timestamp;
int status;
+ struct list_head child_list;
+ struct list_head active_list;
};
enum fence_flag_bits {