The 3.7 kernel is out
The 3.7 kernel is out
Posted Dec 12, 2012 23:37 UTC (Wed) by theophrastus (guest, #80847)Parent article: The 3.7 kernel is out
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);
to:
vma->vm_flags |= (VM_IO | VM_LOCKED | (VM_DONTEXPAND | VM_DONTDUMP));
then the module would build without errors. good luck to us.