diff options
author | Vi0L0 | 2015-11-09 20:45:46 +0100 |
---|---|---|
committer | Vi0L0 | 2015-11-09 20:45:46 +0100 |
commit | 7566f4f49cafe3405a9cc9b04c098938f3b5a94d (patch) | |
tree | c9b8189b138400a75e60510ae62b7cb79d13533c /4.3-kolasa-seq_printf.patch | |
parent | 52556ab70c9a6830fc91886f8a39dcc3cddf55a8 (diff) | |
download | aur-7566f4f49cafe3405a9cc9b04c098938f3b5a94d.tar.gz |
added 4.2 and 4.3 kernel support
Diffstat (limited to '4.3-kolasa-seq_printf.patch')
-rw-r--r-- | 4.3-kolasa-seq_printf.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/4.3-kolasa-seq_printf.patch b/4.3-kolasa-seq_printf.patch new file mode 100644 index 000000000000..6cd08a93acad --- /dev/null +++ b/4.3-kolasa-seq_printf.patch @@ -0,0 +1,16 @@ +--- 15.9/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-09 00:57:14.000000000 +0200 ++++ 15.9b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-02 21:02:06.124639919 +0100 +@@ -623,8 +623,13 @@ + + len = snprintf(buf, request, "%d\n", major); + #else ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) ++ seq_printf(m, "%d\n", major); ++ len = 0; ++#else + len = seq_printf(m, "%d\n", major); + #endif ++#endif + + KCL_DEBUG1(FN_FIREGL_PROC, "return len=%i\n",len); + |