summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-13 01:23:31 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-15 11:32:45 +0200
commit04b1ddadde9c703a9b52952fd72e693ed697b1b2 (patch)
tree00270e5c118481022be03e714af4a236b3b684e6
parenta09a3f4cd32915a438f92be173c91bd17d88f89f (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.patch3
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 *);