summarylogtreecommitdiffstats
path: root/4.13-npfeiler-wait_queue_t.patch
diff options
context:
space:
mode:
authorVi0L02017-10-09 22:22:31 +0200
committerVi0L02017-10-09 22:22:31 +0200
commit1b9054342f5739423be4e0afc4f2af6163ff8845 (patch)
tree174d58772ed6d497c43cd45ea62fd60cf42cf9b2 /4.13-npfeiler-wait_queue_t.patch
parentd6d837fa9e85c1d986cb374f981f83b71d965934 (diff)
downloadaur-1b9054342f5739423be4e0afc4f2af6163ff8845.tar.gz
15.9-22: 4.13 kernel support
Diffstat (limited to '4.13-npfeiler-wait_queue_t.patch')
-rw-r--r--4.13-npfeiler-wait_queue_t.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/4.13-npfeiler-wait_queue_t.patch b/4.13-npfeiler-wait_queue_t.patch
new file mode 100644
index 000000000000..8e5ed7da9ab9
--- /dev/null
+++ b/4.13-npfeiler-wait_queue_t.patch
@@ -0,0 +1,13 @@
+--- archive_files/common/lib/modules/fglrx/build_mod/kcl_wait.c 2015-12-18 19:47:41.000000000 +0100
++++ archive_filesb/common/lib/modules/fglrx/build_mod/kcl_wait.c 2017-09-30 14:13:37.285611187 +0200
+@@ -43,6 +43,10 @@
+ #include "kcl_config.h"
+ #include "kcl_wait.h"
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,13,0)
++typedef wait_queue_entry_t wait_queue_t;
++#endif
++
+ /** \brief Create wait object, init it and add to the kernel queue
+ ** \param object_handle [in] Object handle
+ ** \return Kernel wait handle on success, 0 otherwise