From 04b1ddadde9c703a9b52952fd72e693ed697b1b2 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sat, 13 Apr 2013 01:23:31 +0200 Subject: [PATCH] backports: fix dma-buf backport patch 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 --- 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 06ed9f651654..789a1083ef94 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 #include #include +#include +#include +#include ++#include static inline int is_dma_buf_file(struct file *); -- 2.30.2