diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-09-17 01:24:34 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-09-17 01:29:27 +0200 |
commit | 12a45a8496b950f7bb289cbdf7245f452a8908a7 (patch) | |
tree | 7c15b12ee56dae64deff635a97d9bacf058c4686 /pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-page_cache_release-put_page.patch | |
parent | 5ade8fff793908dbfed7c4b4f5ae904ae6326bfc (diff) | |
parent | 7bc91ffe41d6c4adaa2a778dcf1526caa0f8677b (diff) | |
download | nixpkgs-12a45a8496b950f7bb289cbdf7245f452a8908a7.tar nixpkgs-12a45a8496b950f7bb289cbdf7245f452a8908a7.tar.gz nixpkgs-12a45a8496b950f7bb289cbdf7245f452a8908a7.tar.bz2 nixpkgs-12a45a8496b950f7bb289cbdf7245f452a8908a7.tar.lz nixpkgs-12a45a8496b950f7bb289cbdf7245f452a8908a7.tar.xz nixpkgs-12a45a8496b950f7bb289cbdf7245f452a8908a7.tar.zst nixpkgs-12a45a8496b950f7bb289cbdf7245f452a8908a7.zip |
Merge #18237: ati_drivers_x11: patch for kernel 4.6
Diffstat (limited to 'pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-page_cache_release-put_page.patch')
-rw-r--r-- | pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-page_cache_release-put_page.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-page_cache_release-put_page.patch b/pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-page_cache_release-put_page.patch new file mode 100644 index 00000000000..28820790e49 --- /dev/null +++ b/pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-page_cache_release-put_page.patch @@ -0,0 +1,16 @@ +diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c +index b2242af..586129c 100755 +--- a/common/lib/modules/fglrx/build_mod/firegl_public.c ++++ b/common/lib/modules/fglrx/build_mod/firegl_public.c +@@ -3249,7 +3249,7 @@ void ATI_API_CALL KCL_UnlockUserPages(unsigned long* page_list, unsigned int pag + unsigned int i; + for (i=0; i<page_cnt; i++) + { +- page_cache_release((struct page*)page_list[i]); ++ put_page((struct page*)page_list[i]); + } + } + +-- +2.9.2 + |