diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-13 01:23:31 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:45 +0200 |
commit | 04b1ddadde9c703a9b52952fd72e693ed697b1b2 (patch) | |
tree | 00270e5c118481022be03e714af4a236b3b684e6 | |
parent | a09a3f4cd32915a438f92be173c91bd17d88f89f (diff) |
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 <johannes.berg@intel.com>
-rw-r--r-- | patches/backport-adjustments/dma-buf.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/patches/backport-adjustments/dma-buf.patch b/patches/backport-adjustments/dma-buf.patch index 06ed9f65..789a1083 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 *); |