Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvidia_linux 340.96: Fix build error with Linux 4.6
Fix the build errors below [1][2]. ``` […] /dev/shm/bee-root/nvidia/nvidia_linux-4.6.3-91-340.96-0/source/kernel/os-mlock.c: In function ‘os_lock_user_pages’: /dev/shm/bee-root/nvidia/nvidia_linux-4.6.3-91-340.96-0/source/kernel/os-mlock.c:61:13: error: implicit declaration of function ‘page_cache_release’ [-Werror=implicit-function-declaration] page_cache_release(user_pages[i]); ^ cc1: some warnings being treated as errors scripts/Makefile.build:291: recipe for target '/dev/shm/bee-root/nvidia/nvidia_linux-4.6.3-91-340.96-0/source/kernel/os-mlock.o' failed make[2]: *** [/dev/shm/bee-root/nvidia/nvidia_linux-4.6.3-91-340.96-0/source/kernel/os-mlock.o] Error 1 Makefile:1429: recipe for target '_module_/dev/shm/bee-root/nvidia/nvidia_linux-4.6.3-91-340.96-0/source/kernel' failed make[1]: *** [_module_/dev/shm/bee-root/nvidia/nvidia_linux-4.6.3-91-340.96-0/source/kernel] Error 2 make[1]: Leaving directory '/dev/shm/linux-4.6.3-91.x86_64/source' NVIDIA: left KBUILD. nvidia.ko failed to build! Makefile:184: recipe for target 'nvidia.ko' failed make: *** [nvidia.ko] Error 1 ``` [1] https://github.com/manjaro/packages-extra/blame/ddae91f20ddf82874fce8604f86c12711f718994/linux46-extramodules/nvidia-340xx/PKGBUILD [2] https://github.com/manjaro/packages-extra/issues/68
- Loading branch information