diff options
author | Vi0L0 | 2015-12-13 22:07:16 +0100 |
---|---|---|
committer | Vi0L0 | 2015-12-13 22:07:16 +0100 |
commit | 2b8bbee1a102ff47f11b3c8dac68fb6ecb53a846 (patch) | |
tree | 28039313f87ea4dc2c01f62edec0993822a190bc /4.3-kolasa-seq_printf.patch | |
parent | 6ba2cb92eac8ae292a785c970f13f5b8ebe882e1 (diff) | |
download | aur-2b8bbee1a102ff47f11b3c8dac68fb6ecb53a846.tar.gz |
adding support for up to 4.3 linux kernel + adding custom ACPI files for events handling
Diffstat (limited to '4.3-kolasa-seq_printf.patch')
-rw-r--r-- | 4.3-kolasa-seq_printf.patch | 15 |
1 files changed, 15 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..4b1a3b9b266e --- /dev/null +++ b/4.3-kolasa-seq_printf.patch @@ -0,0 +1,15 @@ +--- 15.11/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-08 18:11:43.177831390 +0100 ++++ 15.11b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-08 18:23:11.599197785 +0100 +@@ -559,7 +559,12 @@ + *start = buf; // For ProcFS: inform procfs that we start output at the beginning of the buffer + *eof = 1; + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0) + len = snprintf(buf, request, "%d\n", major); ++#else ++ seq_printf(m, "%d\n", major); ++ len = 0; ++#endif + + KCL_DEBUG1(FN_FIREGL_PROC, "return len=%i\n",len); + |