summaryrefslogtreecommitdiffstats
path: root/include/linux/sync_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sync_file.h')
-rw-r--r--include/linux/sync_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sync_file.h b/include/linux/sync_file.h
index 5726107963b2..0ad87c434ae6 100644
--- a/include/linux/sync_file.h
+++ b/include/linux/sync_file.h
@@ -43,12 +43,13 @@ struct sync_file {
#endif
wait_queue_head_t wq;
+ unsigned long flags;
struct dma_fence *fence;
struct dma_fence_cb cb;
};
-#define POLL_ENABLED DMA_FENCE_FLAG_USER_BITS
+#define POLL_ENABLED 0
struct sync_file *sync_file_create(struct dma_fence *fence);
struct dma_fence *sync_file_get_fence(int fd);
OpenPOWER on IntegriCloud