going from 3.6.0 to 3.7.0 i get hit with a nvidia (via dkms) build error:
/var/lib/dkms/nvidia/304.48/build/nv-mmap.c: In function ‘nv_kern_mmap’: \
/var/lib/dkms/nvidia/304.48/build/nv-mmap.c:466:47: error: ‘VM_RESERVED’ undeclared (first use in this function)
the solution for me was to edit /usr/src/nvidia-304.48/nv-mmap.c
vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED);
vma->vm_flags |= (VM_IO | VM_LOCKED | (VM_DONTEXPAND | VM_DONTDUMP));
then the module would build without errors. good luck to us.
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds