From: Johannes Berg <johannes.berg@xxxxxxxxx> The patched backported dma-buf code uses the "current" macro to determine task information, so it needs to include sched.h. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- patches/backport-adjustments/dma-buf.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patches/backport-adjustments/dma-buf.patch b/patches/backport-adjustments/dma-buf.patch index 06ed9f6..789a108 100644 --- a/patches/backport-adjustments/dma-buf.patch +++ b/patches/backport-adjustments/dma-buf.patch @@ -1,12 +1,13 @@ --- a/compat/drivers-base-dma-buf.c +++ b/compat/drivers-base-dma-buf.c -@@ -27,6 +27,9 @@ +@@ -27,6 +27,10 @@ #include <linux/dma-buf.h> #include <linux/anon_inodes.h> #include <linux/export.h> +#include <linux/file.h> +#include <linux/fdtable.h> +#include <linux/bitops.h> ++#include <linux/sched.h> static inline int is_dma_buf_file(struct file *); -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html