X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-4.4%2F904-debloat_dma_buf.patch;h=3e6a9a1d68c0e3967ce0e663c56ba6e6601e7845;hb=d14c28fc80d98cc712074c869cbd1659398e8829;hp=e7b7f724421b34d8397c43d0b6967d70c1454f8f;hpb=20ba5a01cfa46a3c56dc26b57f2f922afba61a4b;p=openwrt%2Fstaging%2Frmilecki.git diff --git a/target/linux/generic/patches-4.4/904-debloat_dma_buf.patch b/target/linux/generic/patches-4.4/904-debloat_dma_buf.patch index e7b7f724421..3e6a9a1d68c 100644 --- a/target/linux/generic/patches-4.4/904-debloat_dma_buf.patch +++ b/target/linux/generic/patches-4.4/904-debloat_dma_buf.patch @@ -17,15 +17,24 @@ +dma-shared-buffer-objs := dma-buf.o fence.o reservation.o seqno-fence.o --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma-buf.c -@@ -914,4 +914,4 @@ static void __exit dma_buf_deinit(void) +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + static inline int is_dma_buf_file(struct file *); + +@@ -914,4 +915,5 @@ static void __exit dma_buf_deinit(void) { dma_buf_uninit_debugfs(); } -__exitcall(dma_buf_deinit); +module_exit(dma_buf_deinit); ++MODULE_LICENSE("GPL"); --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2072,6 +2072,7 @@ int wake_up_state(struct task_struct *p, +@@ -2075,6 +2075,7 @@ int wake_up_state(struct task_struct *p, { return try_to_wake_up(p, state, 0); }